Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.001286/0.001286, allocations: 104.8 kB / 16.45 MB, free: 6.445 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.00127/0.00127, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.418/1.418, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 497.2 MB / 0.7812 GB, free: 11.98 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 75.88 kB / 1.134 GB, free: 13.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9599/0.962, allocations: 173.9 MB / 1.304 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003517/0.9655, allocations: 3.13 MB / 1.307 GB, free: 29.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.9672, allocations: 1.099 MB / 1.308 GB, free: 29.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.9675, allocations: 22.19 kB / 1.308 GB, free: 29.1 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.9677, allocations: 86.77 kB / 1.308 GB, free: 29.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.9679, allocations: 113.1 kB / 1.308 GB, free: 28.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000579/0.9685, allocations: 334.2 kB / 1.309 GB, free: 28.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004548/0.9689, allocations: 0.6437 MB / 1.309 GB, free: 28.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.9692, allocations: 163.2 kB / 1.309 GB, free: 28.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.9694, allocations: 226.6 kB / 1.31 GB, free: 28.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.9696, allocations: 201.6 kB / 1.31 GB, free: 28.06 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.9696, allocations: 51.66 kB / 1.31 GB, free: 28.06 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.974e-05/0.9697, allocations: 53.66 kB / 1.31 GB, free: 28.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.192e-05/0.9697, allocations: 115.1 kB / 1.31 GB, free: 27.97 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.9698, allocations: 245.3 kB / 1.31 GB, free: 27.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000473/0.9703, allocations: 0.6869 MB / 1.311 GB, free: 27.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.9703, allocations: 0 / 1.311 GB, free: 27.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9703, allocations: 0 / 1.311 GB, free: 27.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.9703, allocations: 7 kB / 1.311 GB, free: 27.49 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001052/0.9714, allocations: 0.8304 MB / 1.312 GB, free: 26.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.9714, allocations: 8.656 kB / 1.312 GB, free: 26.84 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.36e-05/0.9715, allocations: 72.11 kB / 1.312 GB, free: 26.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.419e-05/0.9716, allocations: 59.66 kB / 1.312 GB, free: 26.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000738/0.9723, allocations: 0.5171 MB / 1.312 GB, free: 26.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.9723, allocations: 28.27 kB / 1.312 GB, free: 26.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.9724, allocations: 27.06 kB / 1.312 GB, free: 26.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.9729, allocations: 377.5 kB / 1.313 GB, free: 26.13 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.9729, allocations: 0 / 1.313 GB, free: 26.13 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.9729, allocations: 11 kB / 1.313 GB, free: 26.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.9729, allocations: 14 kB / 1.313 GB, free: 26.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/0.9734, allocations: 250.4 kB / 1.313 GB, free: 26.03 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.9746, allocations: 1.423 MB / 1.314 GB, free: 24.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.9752, allocations: 251.1 kB / 1.315 GB, free: 24.83 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.9754, allocations: 133.1 kB / 1.315 GB, free: 24.78 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.9754, allocations: 2.562 kB / 1.315 GB, free: 24.78 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.9755, allocations: 41.03 kB / 1.315 GB, free: 24.73 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.403e-06/0.9755, allocations: 0 / 1.315 GB, free: 24.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0007579/0.9762, allocations: 369 kB / 1.315 GB, free: 24.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.9762, allocations: 54.09 kB / 1.315 GB, free: 24.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.9766, allocations: 417.9 kB / 1.316 GB, free: 24.31 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.9766, allocations: 29.7 kB / 1.316 GB, free: 24.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.9767, allocations: 263.2 kB / 1.316 GB, free: 24.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.9768, allocations: 88.06 kB / 1.316 GB, free: 23.99 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.9768, allocations: 55.98 kB / 1.316 GB, free: 23.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.636e-05/0.9769, allocations: 353.3 kB / 1.316 GB, free: 23.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.9771, allocations: 98.3 kB / 1.317 GB, free: 23.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.9773, allocations: 159.6 kB / 1.317 GB, free: 23.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.9777, allocations: 268.5 kB / 1.317 GB, free: 23.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.9777, allocations: 4 kB / 1.317 GB, free: 23.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005224/0.9783, allocations: 345.8 kB / 1.317 GB, free: 23.15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9783, allocations: 5.688 kB / 1.317 GB, free: 23.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.9783, allocations: 3.281 kB / 1.317 GB, free: 23.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.9783, allocations: 5.812 kB / 1.317 GB, free: 23.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.9786, allocations: 64.05 kB / 1.317 GB, free: 23.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.9786, allocations: 10.56 kB / 1.317 GB, free: 23.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.9787, allocations: 33.86 kB / 1.317 GB, free: 23.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.9788, allocations: 15.55 kB / 1.317 GB, free: 23.11 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001338/0.9789, allocations: 179 kB / 1.318 GB, free: 22.95 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.979, allocations: 44.16 kB / 1.318 GB, free: 22.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.342e-05/0.979, allocations: 46.12 kB / 1.318 GB, free: 22.9 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.979, allocations: 2.75 kB / 1.318 GB, free: 22.9 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.979, allocations: 4 kB / 1.318 GB, free: 22.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.979, allocations: 3.938 kB / 1.318 GB, free: 22.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.9794, allocations: 434.3 kB / 1.318 GB, free: 22.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9794, allocations: 0 / 1.318 GB, free: 22.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.9796, allocations: 48.88 kB / 1.318 GB, free: 22.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.9796, allocations: 2.312 kB / 1.318 GB, free: 22.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.9797, allocations: 7.281 kB / 1.318 GB, free: 22.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.9797, allocations: 2.312 kB / 1.318 GB, free: 22.58 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.9797, allocations: 3.938 kB / 1.318 GB, free: 22.58 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000716/0.9804, allocations: 0.4981 MB / 1.319 GB, free: 22.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.9805, allocations: 137.1 kB / 1.319 GB, free: 22.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.9805, allocations: 6.688 kB / 1.319 GB, free: 22.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.9807, allocations: 12.53 kB / 1.319 GB, free: 22.15 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.9807, allocations: 22.22 kB / 1.319 GB, free: 22.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.9808, allocations: 5.766 kB / 1.319 GB, free: 22.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002184/0.981, allocations: 288.9 kB / 1.319 GB, free: 22 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.981, allocations: 0 / 1.319 GB, free: 22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002969/0.9813, allocations: 73.66 kB / 1.319 GB, free: 21.97 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * 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 (23): * Single equations (assignments): 23 * 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.0008544/0.9821, allocations: 1.037 MB / 1.32 GB, free: 21.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.9826, allocations: 236.2 kB / 1.32 GB, free: 21.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9826, allocations: 0 / 1.32 GB, free: 21.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.9828, allocations: 115.7 kB / 1.32 GB, free: 21.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006068/0.9834, allocations: 135.9 kB / 1.321 GB, free: 21 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/0.9871, allocations: 3.51 MB / 1.324 GB, free: 18.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.9873, allocations: 0.8165 MB / 1.325 GB, free: 18.1 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002002/0.9875, allocations: 46.75 kB / 1.325 GB, free: 18.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.9877, allocations: 152.4 kB / 1.325 GB, free: 17.98 MB / 1.061 GB Notification: Performance of SimCode: time 9.61e-07/0.9877, allocations: 0 / 1.325 GB, free: 17.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0362/1.024, allocations: 8.073 MB / 1.333 GB, free: 17.12 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/9.283, allocations: 2.156 kB / 1.333 GB, free: 17.12 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.33140577422455]