Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001457/0.001457, allocations: 109.4 kB / 16.46 MB, free: 6.035 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.001555/0.001555, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.476/1.476, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.706/2.706, allocations: 476.7 MB / 0.7611 GB, free: 11.27 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.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 67.91 kB / 1.104 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8521/0.8543, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001765/0.8561, allocations: 0.5686 MB / 1.269 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 3.749e-05/0.8561, allocations: 4 kB / 1.269 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.8562, allocations: 0 / 1.269 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.8562, allocations: 0 / 1.269 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.311e-05/0.8562, allocations: 4 kB / 1.269 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.191e-05/0.8562, allocations: 0 / 1.269 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.188e-05/0.8563, allocations: 19.86 kB / 1.269 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.8563, allocations: 0 / 1.269 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.229e-05/0.8564, allocations: 3.938 kB / 1.269 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.665e-05/0.8564, allocations: 0 / 1.269 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.8564, allocations: 0 / 1.269 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.048e-06/0.8564, allocations: 4 kB / 1.269 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.8564, allocations: 0 / 1.269 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.8564, allocations: 7.984 kB / 1.269 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.375e-05/0.8565, allocations: 3.938 kB / 1.269 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.8565, allocations: 4 kB / 1.269 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8565, allocations: 0 / 1.269 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.8565, allocations: 0 / 1.269 GB, free: 4.555 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003165/0.8568, allocations: 319.3 kB / 1.27 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.8568, allocations: 12.03 kB / 1.27 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.8569, allocations: 30.75 kB / 1.27 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.738e-05/0.8569, allocations: 0.9375 kB / 1.27 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.857, allocations: 164.4 kB / 1.27 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.857, allocations: 4.375 kB / 1.27 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-06/0.857, allocations: 4.375 kB / 1.27 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.742e-05/0.8571, allocations: 34.25 kB / 1.27 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8571, allocations: 3.938 kB / 1.27 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.8571, allocations: 3.938 kB / 1.27 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.8571, allocations: 0 / 1.27 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.177e-05/0.8571, allocations: 0 / 1.27 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.8575, allocations: 379.5 kB / 1.27 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.8576, allocations: 173.1 kB / 1.27 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.8576, allocations: 88.11 kB / 1.271 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.8577, allocations: 75.28 kB / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.663e-05/0.8577, allocations: 105.8 kB / 1.271 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.8577, allocations: 0 / 1.271 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.906e-05/0.8578, allocations: 33.7 kB / 1.271 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.8579, allocations: 126.7 kB / 1.271 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.525e-05/0.858, allocations: 97.84 kB / 1.271 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.858, allocations: 25.7 kB / 1.271 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.858, allocations: 80.14 kB / 1.271 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.858, allocations: 0 / 1.271 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.858, allocations: 13.72 kB / 1.271 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.8582, allocations: 319 kB / 1.271 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-06/0.8582, allocations: 0 / 1.271 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-06/0.8582, allocations: 3.938 kB / 1.271 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.315e-05/0.8582, allocations: 75.28 kB / 1.271 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.73e-05/0.8583, allocations: 79.22 kB / 1.272 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.572e-05/0.8584, allocations: 29.7 kB / 1.272 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.8584, allocations: 79.28 kB / 1.272 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.945e-05/0.8584, allocations: 83.16 kB / 1.272 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.561e-05/0.8585, allocations: 170.5 kB / 1.272 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.929e-05/0.8586, allocations: 79.28 kB / 1.272 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.167e-05/0.8587, allocations: 154.5 kB / 1.272 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.8588, allocations: 79.28 kB / 1.272 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.8588, allocations: 79.28 kB / 1.272 GB, free: 1.371 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 (0): * Single equations (assignments): 0 * 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.000218/0.8591, allocations: 268.3 kB / 1.273 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.633e-05/0.8591, allocations: 101 kB / 1.273 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.8592, allocations: 113.7 kB / 1.273 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-05/0.8593, allocations: 184.2 kB / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.137e-05/0.8594, allocations: 176.3 kB / 1.273 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.421e-05/0.8595, allocations: 180.2 kB / 1.273 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.8598, allocations: 409.2 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.488e-05/0.8599, allocations: 101 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.8599, allocations: 108.9 kB / 1.274 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.006e-05/0.86, allocations: 180.3 kB / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.871e-05/0.8601, allocations: 184.2 kB / 1.274 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.919e-05/0.8602, allocations: 176.3 kB / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-05/0.8603, allocations: 184.3 kB / 1.275 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.8604, allocations: 312.1 kB / 1.275 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.8605, allocations: 186 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.8607, allocations: 180.3 kB / 1.275 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.8608, allocations: 109 kB / 1.275 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.8609, allocations: 184.2 kB / 1.275 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/0.8609, allocations: 109 kB / 1.276 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.023e-05/0.861, allocations: 75.28 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.861, allocations: 0 / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002734/0.8612, allocations: 0 / 1.276 GB, free: 13.7 MB / 0.9825 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 (0): * Single equations (assignments): 0 * 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.0007607/0.862, allocations: 0.8171 MB / 1.276 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.249e-05/0.8621, allocations: 0 / 1.276 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8621, allocations: 0 / 1.276 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.8621, allocations: 0 / 1.276 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.8625, allocations: 463.9 kB / 1.277 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.8639, allocations: 1.533 MB / 1.278 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.8643, allocations: 0.6729 MB / 1.279 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.176e-05/0.8643, allocations: 3.938 kB / 1.279 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.8643, allocations: 7.438 kB / 1.279 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8643, allocations: 3.938 kB / 1.279 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.8875, allocations: 0.9363 MB / 1.28 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/9.089, allocations: 7.969 kB / 1.28 GB, free: 9.242 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.036090780049562]