Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 101.7 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 200.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.801/2.801, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 1.104 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8762/0.8782, allocations: 168.7 MB / 1.269 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001906/0.8801, allocations: 0.7118 MB / 1.269 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009283/0.881, allocations: 0.8001 MB / 1.27 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.8811, allocations: 0 / 1.27 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.8811, allocations: 3.938 kB / 1.27 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.091e-05/0.8812, allocations: 7.938 kB / 1.27 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.093e-05/0.8812, allocations: 11.97 kB / 1.27 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.722e-05/0.8813, allocations: 39.92 kB / 1.27 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.8814, allocations: 11.98 kB / 1.27 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.99e-05/0.8815, allocations: 27.84 kB / 1.27 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.29e-05/0.8816, allocations: 19.92 kB / 1.27 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.8816, allocations: 4 kB / 1.27 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.8816, allocations: 4 kB / 1.27 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.8816, allocations: 7.938 kB / 1.27 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.8816, allocations: 19.92 kB / 1.27 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.991e-05/0.8817, allocations: 37.7 kB / 1.27 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.8818, allocations: 3.938 kB / 1.27 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8818, allocations: 0 / 1.27 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.8818, allocations: 0 / 1.27 GB, free: 3.5 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005746/0.8823, allocations: 375.2 kB / 1.271 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.8824, allocations: 8.031 kB / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.8824, allocations: 42.75 kB / 1.271 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.8824, allocations: 4.891 kB / 1.271 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.8826, allocations: 168.4 kB / 1.271 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.8826, allocations: 384 / 1.271 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.8826, allocations: 384 / 1.271 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.8829, allocations: 82.14 kB / 1.271 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.8829, allocations: 3.938 kB / 1.271 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.8829, allocations: 0 / 1.271 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.8829, allocations: 0 / 1.271 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.8831, allocations: 63.92 kB / 1.271 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.8835, allocations: 264.9 kB / 1.271 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.8837, allocations: 70.45 kB / 1.272 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.8839, allocations: 40.91 kB / 1.272 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.8839, allocations: 0 / 1.272 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.8839, allocations: 30.56 kB / 1.272 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.8839, allocations: 4 kB / 1.272 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004854/0.8844, allocations: 125.5 kB / 1.272 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.8844, allocations: 55.41 kB / 1.272 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.8845, allocations: 109.8 kB / 1.272 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.8845, allocations: 33.7 kB / 1.272 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.8846, allocations: 92.06 kB / 1.272 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.8846, allocations: 11.91 kB / 1.272 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.8847, allocations: 13.72 kB / 1.272 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.8848, allocations: 314.8 kB / 1.272 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.8849, allocations: 31.95 kB / 1.272 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.8851, allocations: 35.97 kB / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.8853, allocations: 68.72 kB / 1.272 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8853, allocations: 0 / 1.272 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002852/0.8856, allocations: 97.62 kB / 1.273 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.8856, allocations: 8 kB / 1.273 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.8856, allocations: 0 / 1.273 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.8856, allocations: 3.938 kB / 1.273 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.8857, allocations: 19.91 kB / 1.273 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.8857, allocations: 0 / 1.273 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/0.8858, allocations: 15.94 kB / 1.273 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.8858, allocations: 0 / 1.273 GB, free: 1.113 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 0.0001482/0.886, allocations: 121.8 kB / 1.273 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.886, allocations: 0 / 1.273 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.886, allocations: 7.906 kB / 1.273 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.886, allocations: 3.984 kB / 1.273 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.886, allocations: 0 / 1.273 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.886, allocations: 0 / 1.273 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.8862, allocations: 169.6 kB / 1.273 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8862, allocations: 0 / 1.273 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-05/0.8863, allocations: 19.98 kB / 1.273 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.8863, allocations: 4 kB / 1.273 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.8863, allocations: 0 / 1.273 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8863, allocations: 0 / 1.273 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.8863, allocations: 3.984 kB / 1.273 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.8867, allocations: 199.6 kB / 1.273 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.8867, allocations: 85.11 kB / 1.273 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.8867, allocations: 48 / 1.273 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.8868, allocations: 15.97 kB / 1.273 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.8869, allocations: 7.984 kB / 1.273 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.8869, allocations: 0 / 1.273 GB, free: 392 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.8869, allocations: 87.27 kB / 1.273 GB, free: 304 kB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8869, allocations: 0 / 1.273 GB, free: 304 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002099/0.8871, allocations: 8 kB / 1.273 GB, free: 296 kB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007111/0.8878, allocations: 0.7323 MB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.8881, allocations: 75.86 kB / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8881, allocations: 0 / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.8883, allocations: 35.95 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.8886, allocations: 8.484 kB / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.8891, allocations: 159 kB / 1.274 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.8894, allocations: 0.6846 MB / 1.275 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.001e-05/0.8894, allocations: 0 / 1.275 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.8895, allocations: 23.36 kB / 1.275 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.8895, allocations: 3.938 kB / 1.275 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.9145, allocations: 1.635 MB / 1.277 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/9.091, allocations: 11.11 kB / 1.277 GB, free: 12.93 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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: 15.186285049188882]