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.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.001899/0.001899, allocations: 101.8 kB / 19.73 MB, free: 2.23 MB / 14.72 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.002417/0.002417, allocations: 217 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.076/3.076, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 72.14 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3431, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004717/0.3478, allocations: 3.176 MB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002238/0.35, allocations: 1.188 MB / 1.35 GB, free: 12.1 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003528/0.3504, allocations: 27.75 kB / 1.35 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.3507, allocations: 83.14 kB / 1.35 GB, free: 11.99 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.3509, allocations: 115 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008099/0.3517, allocations: 378.4 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007218/0.3524, allocations: 0.6402 MB / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.3528, allocations: 166.4 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.3531, allocations: 239 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.3534, allocations: 210.8 kB / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.084e-05/0.3535, allocations: 52 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.432e-05/0.3535, allocations: 56 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/0.3536, allocations: 119.5 kB / 1.352 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.3538, allocations: 234.6 kB / 1.352 GB, free: 9.809 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007745/0.3546, allocations: 0.7041 MB / 1.352 GB, free: 9.102 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3546, allocations: 0 / 1.352 GB, free: 9.102 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3546, allocations: 0 / 1.352 GB, free: 9.102 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.3546, allocations: 0 / 1.352 GB, free: 9.102 MB / 1.045 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.001346/0.356, allocations: 0.7614 MB / 1.353 GB, free: 8.309 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.356, allocations: 8.031 kB / 1.353 GB, free: 8.301 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.17e-05/0.356, allocations: 12.78 kB / 1.353 GB, free: 8.285 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.415e-05/0.3561, allocations: 70.72 kB / 1.353 GB, free: 8.207 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003475/0.3565, allocations: 88.53 kB / 1.353 GB, free: 8.121 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009263/0.3574, allocations: 471.5 kB / 1.354 GB, free: 7.637 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.3574, allocations: 21.03 kB / 1.354 GB, free: 7.613 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.3575, allocations: 32.33 kB / 1.354 GB, free: 7.582 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.3581, allocations: 375 kB / 1.354 GB, free: 7.184 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3581, allocations: 3.984 kB / 1.354 GB, free: 7.18 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.3582, allocations: 12 kB / 1.354 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3582, allocations: 4 kB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006186/0.3588, allocations: 250.4 kB / 1.355 GB, free: 6.918 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.3605, allocations: 1.395 MB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007072/0.3612, allocations: 256.5 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.3615, allocations: 132.7 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.3615, allocations: 7.984 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.3616, allocations: 34.5 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of pre-optimization done (n=23): time 2.254e-06/0.3616, allocations: 4 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of matching and sorting (n=23): time 0.0009505/0.3625, allocations: 365.1 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.3625, allocations: 51.41 kB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004901/0.363, allocations: 421.9 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.3631, allocations: 41.64 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.3633, allocations: 256.4 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.584e-05/0.3634, allocations: 83.33 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.937e-05/0.3634, allocations: 61.92 kB / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3636, allocations: 346.8 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.3639, allocations: 96.5 kB / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.3642, allocations: 168.7 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005638/0.3648, allocations: 279.9 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3648, allocations: 0 / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007095/0.3655, allocations: 341 kB / 1.359 GB, free: 2.438 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.3655, allocations: 10.12 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3655, allocations: 4 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3655, allocations: 4 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.3658, allocations: 67.89 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.3658, allocations: 7.938 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.366, allocations: 31.77 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.366, allocations: 12 kB / 1.359 GB, free: 2.305 MB / 1.045 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.0002066/0.3662, allocations: 169.8 kB / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.438e-05/0.3663, allocations: 51.7 kB / 1.359 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.3664, allocations: 52.09 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3664, allocations: 4 kB / 1.359 GB, free: 2.023 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3664, allocations: 3.938 kB / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3664, allocations: 0 / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.3669, allocations: 408.3 kB / 1.359 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3669, allocations: 0 / 1.359 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.3672, allocations: 51.91 kB / 1.36 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3672, allocations: 0 / 1.36 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.3672, allocations: 11.98 kB / 1.36 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3672, allocations: 3.938 kB / 1.36 GB, free: 1.512 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.3672, allocations: 3.938 kB / 1.36 GB, free: 1.508 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009806/0.3682, allocations: 0.5003 MB / 1.36 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3683, allocations: 67.66 kB / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.3684, allocations: 0 / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.3686, allocations: 15.98 kB / 1.36 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.3686, allocations: 19.91 kB / 1.36 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3687, allocations: 7.984 kB / 1.36 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003283/0.369, allocations: 299.1 kB / 1.36 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.369, allocations: 0 / 1.36 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003308/0.3693, allocations: 67.91 kB / 1.361 GB, free: 0.5273 MB / 1.045 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.001265/0.3706, allocations: 1.042 MB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006059/0.3712, allocations: 231.8 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3712, allocations: 0 / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.3715, allocations: 123.3 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006836/0.3721, allocations: 128 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005116/0.3773, allocations: 3.527 MB / 1.365 GB, free: 11.33 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.3777, allocations: 0.8271 MB / 1.366 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002066/0.3779, allocations: 43.27 kB / 1.366 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.3782, allocations: 155.4 kB / 1.366 GB, free: 10.28 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/0.3782, allocations: 0 / 1.366 GB, free: 10.28 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.4126, allocations: 8.407 MB / 1.375 GB, free: 2.102 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.17, allocations: 4.062 kB / 1.375 GB, free: 2.098 MB / 1.061 GB " [Timeout remaining time 288] (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/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: 18.720831699029077]