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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 109.8 kB / 16.41 MB, free: 6.492 MB / 14.72 MB 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: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.349/2.349, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 56.09 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7117/0.7128, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003774/0.7167, allocations: 3.104 MB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.7183, allocations: 1.095 MB / 1.213 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.7185, allocations: 23.88 kB / 1.213 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.7187, allocations: 83.12 kB / 1.213 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.7189, allocations: 111 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.7196, allocations: 342 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005056/0.7201, allocations: 0.6363 MB / 1.214 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.7204, allocations: 249.9 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.7206, allocations: 223.1 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.7208, allocations: 210.8 kB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.537e-05/0.7209, allocations: 52 kB / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.847e-05/0.721, allocations: 52 kB / 1.214 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.7211, allocations: 111.5 kB / 1.215 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.7212, allocations: 242.6 kB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.7217, allocations: 0.6984 MB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7218, allocations: 0 / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7218, allocations: 0 / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.7218, allocations: 0 / 1.215 GB, free: 6.41 MB / 0.9356 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.001099/0.7229, allocations: 0.8176 MB / 1.216 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.7229, allocations: 12.03 kB / 1.216 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.956e-05/0.723, allocations: 56.19 kB / 1.216 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007362/0.7237, allocations: 0.5139 MB / 1.217 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.7238, allocations: 25.03 kB / 1.217 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.7238, allocations: 28.38 kB / 1.217 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/0.7244, allocations: 371.1 kB / 1.217 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.7244, allocations: 0 / 1.217 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.7245, allocations: 12 kB / 1.217 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.7245, allocations: 11.98 kB / 1.217 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005438/0.725, allocations: 258 kB / 1.217 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.7264, allocations: 1.417 MB / 1.219 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006252/0.727, allocations: 282.7 kB / 1.219 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.7273, allocations: 136.8 kB / 1.219 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.7273, allocations: 0 / 1.219 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.7273, allocations: 38.56 kB / 1.219 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 1.062e-06/0.7274, allocations: 0 / 1.219 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.0007902/0.7281, allocations: 359.3 kB / 1.22 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.7282, allocations: 59.41 kB / 1.22 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.7286, allocations: 410 kB / 1.22 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.7286, allocations: 33.64 kB / 1.22 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.7288, allocations: 260.1 kB / 1.22 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.7288, allocations: 82.8 kB / 1.22 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.7289, allocations: 53.98 kB / 1.22 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.729, allocations: 362.7 kB / 1.221 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.7293, allocations: 96.52 kB / 1.221 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.7295, allocations: 156.8 kB / 1.221 GB, free: 328 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/0.73, allocations: 272.8 kB / 1.221 GB, free: 32 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.73, allocations: 0 / 1.221 GB, free: 32 kB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006211/0.7307, allocations: 340.9 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.7307, allocations: 4 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7307, allocations: 4 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.7307, allocations: 7.984 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.731, allocations: 63.89 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.731, allocations: 4 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.7312, allocations: 35.7 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.7312, allocations: 12.17 kB / 1.222 GB, free: 15.56 MB / 0.9512 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.0001531/0.7314, allocations: 173.8 kB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.7314, allocations: 43.44 kB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.904e-05/0.7315, allocations: 47.92 kB / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.7315, allocations: 4 kB / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.7315, allocations: 0 / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.7315, allocations: 11.92 kB / 1.222 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.7319, allocations: 433.1 kB / 1.222 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7319, allocations: 0 / 1.222 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.7322, allocations: 51.95 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7322, allocations: 3.938 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.7322, allocations: 8 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7322, allocations: 0 / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7322, allocations: 0 / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008221/0.7331, allocations: 0.508 MB / 1.223 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.7332, allocations: 140.5 kB / 1.223 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.7332, allocations: 8 kB / 1.223 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.7334, allocations: 11.98 kB / 1.223 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.7335, allocations: 11.98 kB / 1.223 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.7335, allocations: 15.92 kB / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002599/0.7338, allocations: 287.2 kB / 1.223 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7338, allocations: 0 / 1.223 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002947/0.7341, allocations: 71.75 kB / 1.224 GB, free: 13.67 MB / 0.9512 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 9.968e-05/0.7342, allocations: 107.2 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005322/0.7347, allocations: 244.2 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7347, allocations: 0 / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.735, allocations: 122.2 kB / 1.224 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006072/0.7356, allocations: 135.1 kB / 1.224 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.7367, allocations: 0.7476 MB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.737, allocations: 0.8311 MB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.582e-05/0.7371, allocations: 35.42 kB / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of SimCode: time 2e-07/0.7371, allocations: 0 / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of Templates: time 0.006379/0.7435, allocations: 5.365 MB / 1.231 GB, free: 6.086 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (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 & ./Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) 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) Reference file matches