Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008324/0.0008324, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009484/0.0009484, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8854/0.8854, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.721/1.721, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 0 / 0.981 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.444e-05, allocations: 10.22 kB / 0.981 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001615/0.00164, allocations: 0.7446 MB / 0.9817 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0008843/0.002524, allocations: 0.8898 MB / 0.9826 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.922e-05/0.002563, allocations: 4 kB / 0.9826 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.002594, allocations: 7.938 kB / 0.9826 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.369e-05/0.002667, allocations: 7.922 kB / 0.9826 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.002825, allocations: 47.77 kB / 0.9826 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.247e-05/0.002918, allocations: 83.81 kB / 0.9827 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.003027, allocations: 15.98 kB / 0.9827 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.706e-05/0.003114, allocations: 51.89 kB / 0.9828 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.003178, allocations: 43.88 kB / 0.9828 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.003205, allocations: 8 kB / 0.9828 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.003217, allocations: 8 kB / 0.9828 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.003239, allocations: 19.92 kB / 0.9829 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.00327, allocations: 27.97 kB / 0.9829 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.003394, allocations: 99.62 kB / 0.983 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.003397, allocations: 0 / 0.983 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.643e-06/0.003399, allocations: 4 kB / 0.983 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.003404, allocations: 0 / 0.983 GB, free: 15.36 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000467/0.003871, allocations: 325.9 kB / 0.9833 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.003919, allocations: 8.031 kB / 0.9833 GB, free: 15 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.003961, allocations: 38.75 kB / 0.9833 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.00399, allocations: 16.89 kB / 0.9834 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.778e-05/0.004088, allocations: 109.8 kB / 0.9835 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.004106, allocations: 8.375 kB / 0.9835 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.004118, allocations: 8.359 kB / 0.9835 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.004319, allocations: 101.9 kB / 0.9836 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.004327, allocations: 0 / 0.9836 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.004341, allocations: 8 kB / 0.9836 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.004346, allocations: 0 / 0.9836 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.004546, allocations: 99.84 kB / 0.9837 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.004955, allocations: 291.8 kB / 0.984 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.005309, allocations: 118.5 kB / 0.9841 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.005413, allocations: 64.86 kB / 0.9841 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.005431, allocations: 4 kB / 0.9841 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.005447, allocations: 30.56 kB / 0.9842 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.005448, allocations: 0 / 0.9842 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0003823/0.005831, allocations: 177.5 kB / 0.9843 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.005864, allocations: 55.34 kB / 0.9844 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.005946, allocations: 125.8 kB / 0.9845 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.00596, allocations: 29.7 kB / 0.9845 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.006003, allocations: 104 kB / 0.9846 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.006026, allocations: 23.8 kB / 0.9847 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.006061, allocations: 21.7 kB / 0.9847 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.883e-05/0.00614, allocations: 322.8 kB / 0.985 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.641e-05/0.006237, allocations: 43.95 kB / 0.985 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.883e-05/0.006326, allocations: 48.27 kB / 0.9851 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.006506, allocations: 104.9 kB / 0.9852 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.006509, allocations: 0 / 0.9852 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002134/0.006722, allocations: 133.5 kB / 0.9853 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.006735, allocations: 11.94 kB / 0.9853 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.006739, allocations: 0 / 0.9853 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.006753, allocations: 4 kB / 0.9853 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.578e-05/0.006838, allocations: 27.97 kB / 0.9853 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.006844, allocations: 0 / 0.9853 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.006893, allocations: 11.98 kB / 0.9854 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.006901, allocations: 3.938 kB / 0.9854 GB, free: 12.73 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.723e-05/0.006968, allocations: 113.8 kB / 0.9855 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.006986, allocations: 15.94 kB / 0.9855 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.007007, allocations: 8.438 kB / 0.9855 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.00701, allocations: 0 / 0.9855 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.007015, allocations: 7.984 kB / 0.9855 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.007018, allocations: 0 / 0.9855 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.007144, allocations: 156.7 kB / 0.9857 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007145, allocations: 0 / 0.9857 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.859e-05/0.007214, allocations: 23.97 kB / 0.9857 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.007217, allocations: 4 kB / 0.9857 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.007225, allocations: 7.922 kB / 0.9857 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.007228, allocations: 8 kB / 0.9857 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007229, allocations: 0 / 0.9857 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.007476, allocations: 235.3 kB / 0.9859 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.162e-05/0.007488, allocations: 11.89 kB / 0.9859 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.007501, allocations: 4 kB / 0.9859 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.222e-05/0.007563, allocations: 11.98 kB / 0.9859 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.007621, allocations: 19.97 kB / 0.986 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.007627, allocations: 11.94 kB / 0.986 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.481e-05/0.007661, allocations: 91.27 kB / 0.9861 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.007661, allocations: 4 kB / 0.9861 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001588/0.00782, allocations: 19.94 kB / 0.9861 GB, free: 11.93 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004545/0.008275, allocations: 0.7631 MB / 0.9868 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.008509, allocations: 107.9 kB / 0.9869 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.00851, allocations: 0 / 0.9869 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.008613, allocations: 63.88 kB / 0.987 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.008875, allocations: 10.12 kB / 0.987 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.01022, allocations: 1.546 MB / 0.9885 GB, free: 9.332 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.206e-05/0.01028, allocations: 79.33 kB / 0.9886 GB, free: 9.234 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 4.614e-05/0.01032, allocations: 4 kB / 0.9886 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.01039, allocations: 36.48 kB / 0.9886 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of SimCode: time 8.32e-07/0.01039, allocations: 0 / 0.9886 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.02598, allocations: 3.482 MB / 0.992 GB, free: 5.863 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/6.971, allocations: 6.234 kB / 0.992 GB, free: 5.859 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.9091403670609]