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.0008279/0.0008279, 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.0008695/0.0008695, 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.8445/0.8445, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.7/1.7, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="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 1.753e-06/1.753e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.317e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004108/0.004132, allocations: 2.885 MB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.006122, allocations: 1.141 MB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.00641, allocations: 23.81 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.006681, allocations: 99 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.006932, allocations: 119 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007326/0.007665, allocations: 356 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000634/0.008299, allocations: 0.6479 MB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/0.008622, allocations: 166.3 kB / 1.005 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004567/0.009079, allocations: 335.1 kB / 1.005 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.009283, allocations: 155.4 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.935e-05/0.009352, allocations: 52 kB / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.326e-05/0.009445, allocations: 56 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.716e-05/0.009522, allocations: 107.5 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.009654, allocations: 147.5 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006715/0.01033, allocations: 0.7047 MB / 1.006 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01033, allocations: 0 / 1.006 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.482e-06/0.01033, allocations: 0 / 1.006 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.01034, allocations: 0 / 1.006 GB, free: 6.516 MB / 0.9636 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.00116/0.0115, allocations: 0.7634 MB / 1.007 GB, free: 5.723 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.01155, allocations: 12.75 kB / 1.007 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.555e-05/0.01162, allocations: 62.72 kB / 1.007 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002906/0.01191, allocations: 92.48 kB / 1.007 GB, free: 5.551 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008163/0.01273, allocations: 470.7 kB / 1.008 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.01276, allocations: 25.03 kB / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.01281, allocations: 28.38 kB / 1.008 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.01343, allocations: 423 kB / 1.008 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.01344, allocations: 4.188 kB / 1.008 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.01348, allocations: 16.12 kB / 1.008 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.01349, allocations: 11.98 kB / 1.008 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005386/0.01403, allocations: 258.4 kB / 1.009 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.01548, allocations: 1.289 MB / 1.01 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/0.01607, allocations: 250.9 kB / 1.01 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.01632, allocations: 128.7 kB / 1.01 GB, free: 2.531 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.01635, allocations: 4 kB / 1.01 GB, free: 2.527 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.01638, allocations: 38.5 kB / 1.01 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=23): time 2.835e-06/0.01638, allocations: 0 / 1.01 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23): time 0.0007954/0.01717, allocations: 366.8 kB / 1.011 GB, free: 2.117 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.01721, allocations: 59.34 kB / 1.011 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/0.01766, allocations: 425.8 kB / 1.011 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.01769, allocations: 33.7 kB / 1.011 GB, free: 1.586 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.01787, allocations: 256.4 kB / 1.011 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.01793, allocations: 87.31 kB / 1.011 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.191e-05/0.01803, allocations: 57.98 kB / 1.011 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.01815, allocations: 358.7 kB / 1.012 GB, free: 0.8164 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.01837, allocations: 88.52 kB / 1.012 GB, free: 0.7305 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.01861, allocations: 168.7 kB / 1.012 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/0.01908, allocations: 271.5 kB / 1.012 GB, free: 252 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01909, allocations: 0 / 1.012 GB, free: 252 kB / 0.9636 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006066/0.01969, allocations: 344.9 kB / 1.013 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.01971, allocations: 8 kB / 1.013 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.01972, allocations: 0 / 1.013 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.01974, allocations: 7.984 kB / 1.013 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.01997, allocations: 68.16 kB / 1.013 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.01998, allocations: 7.984 kB / 1.013 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.02013, allocations: 35.7 kB / 1.013 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.02015, allocations: 12 kB / 1.013 GB, free: 15.77 MB / 0.9792 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.0001759/0.02033, allocations: 173.7 kB / 1.013 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.0204, allocations: 47.72 kB / 1.013 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.079e-05/0.02049, allocations: 48.09 kB / 1.013 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.02049, allocations: 4 kB / 1.013 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.0205, allocations: 4 kB / 1.013 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.0205, allocations: 0 / 1.013 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.02093, allocations: 368.4 kB / 1.013 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02093, allocations: 0 / 1.013 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.02114, allocations: 43.97 kB / 1.013 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.02114, allocations: 0 / 1.013 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.02116, allocations: 8 kB / 1.013 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.02116, allocations: 0 / 1.013 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.02116, allocations: 3.984 kB / 1.013 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00081/0.02197, allocations: 0.501 MB / 1.014 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.02209, allocations: 75.59 kB / 1.014 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.02214, allocations: 8 kB / 1.014 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.02229, allocations: 11.98 kB / 1.014 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.02235, allocations: 15.97 kB / 1.014 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.02236, allocations: 4 kB / 1.014 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0003067/0.02267, allocations: 303.2 kB / 1.014 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1e-07/0.02267, allocations: 0 / 1.014 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003705/0.02304, allocations: 67.84 kB / 1.014 GB, free: 14.04 MB / 0.9792 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.001026/0.02406, allocations: 1.046 MB / 1.015 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000489/0.02455, allocations: 227.6 kB / 1.016 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.02455, allocations: 0 / 1.016 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.0247, allocations: 116.3 kB / 1.016 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.02512, allocations: 132.5 kB / 1.016 GB, free: 12.51 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.02819, allocations: 3.533 MB / 1.019 GB, free: 8.832 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.02832, allocations: 220.3 kB / 1.02 GB, free: 8.59 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001386/0.02846, allocations: 51.27 kB / 1.02 GB, free: 8.539 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.02861, allocations: 152.4 kB / 1.02 GB, free: 8.391 MB / 0.9792 GB Notification: Performance of SimCode: time 4.21e-07/0.02861, allocations: 0 / 1.02 GB, free: 8.391 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.05961, allocations: 9.112 MB / 1.029 GB, free: 15.58 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.318/7.378, allocations: 7.922 kB / 1.029 GB, free: 15.57 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.234644868411124]