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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.306/2.306, allocations: 390.5 MB / 398 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 177 kB / 491.2 MB, free: 1.621 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.844/1.844, allocations: 221.5 MB / 0.7868 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 87.95 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.581e-05/1.578e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3788, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.6, allocations: 154.7 MB / 1.363 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/1.601, allocations: 94.98 kB / 1.364 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02231/1.623, allocations: 8.764 MB / 1.372 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.504e-06/1.623, allocations: 3.938 kB / 1.372 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.309e-05/1.623, allocations: 19.62 kB / 1.372 GB, free: 32.57 MB / 0.8386 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.0009986/1.624, allocations: 0.6745 MB / 1.373 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/1.624, allocations: 11.62 kB / 1.373 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/1.625, allocations: 57.12 kB / 1.373 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006395/1.625, allocations: 465.3 kB / 1.373 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/1.625, allocations: 12.06 kB / 1.373 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/1.625, allocations: 15.47 kB / 1.373 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003918/1.626, allocations: 219.8 kB / 1.373 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/1.626, allocations: 341.6 kB / 1.374 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/1.626, allocations: 7.953 kB / 1.374 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/1.626, allocations: 0 / 1.374 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/1.626, allocations: 7.688 kB / 1.374 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/1.628, allocations: 1.502 MB / 1.375 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/1.628, allocations: 255.5 kB / 1.376 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/1.629, allocations: 108.3 kB / 1.376 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/1.629, allocations: 6.531 kB / 1.376 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/1.629, allocations: 38.06 kB / 1.376 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 1.332e-06/1.629, allocations: 0 / 1.376 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.000431/1.629, allocations: 246.9 kB / 1.376 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/1.629, allocations: 159.9 kB / 1.376 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/1.63, allocations: 343.2 kB / 1.376 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/1.63, allocations: 25.7 kB / 1.376 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/1.63, allocations: 257.9 kB / 1.377 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/1.63, allocations: 76.44 kB / 1.377 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/1.63, allocations: 0 / 1.377 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.63, allocations: 350.4 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/1.63, allocations: 82.25 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/1.63, allocations: 166 kB / 1.377 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/1.63, allocations: 101.4 kB / 1.377 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.63, allocations: 4 kB / 1.377 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000371/1.631, allocations: 285.9 kB / 1.378 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/1.631, allocations: 3.812 kB / 1.378 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.631, allocations: 7.828 kB / 1.378 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/1.631, allocations: 3.969 kB / 1.378 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/1.631, allocations: 77.06 kB / 1.378 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/1.631, allocations: 0 / 1.378 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/1.632, allocations: 43.52 kB / 1.378 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/1.632, allocations: 14.81 kB / 1.378 GB, free: 29.69 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001117/1.632, allocations: 120.7 kB / 1.378 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.439e-05/1.632, allocations: 46.81 kB / 1.378 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/1.632, allocations: 46.48 kB / 1.378 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.632, allocations: 7.797 kB / 1.378 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.632, allocations: 3.281 kB / 1.378 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.632, allocations: 0 / 1.378 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/1.632, allocations: 421.7 kB / 1.378 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.632, allocations: 3.812 kB / 1.378 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/1.633, allocations: 64.55 kB / 1.379 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/1.633, allocations: 3.844 kB / 1.379 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/1.633, allocations: 2.25 kB / 1.379 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.633, allocations: 0 / 1.379 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.633, allocations: 0 / 1.379 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/1.633, allocations: 485.4 kB / 1.379 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/1.633, allocations: 149.9 kB / 1.379 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/1.633, allocations: 6.312 kB / 1.379 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/1.634, allocations: 29.89 kB / 1.379 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/1.634, allocations: 17.94 kB / 1.379 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/1.634, allocations: 3.875 kB / 1.379 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002587/1.634, allocations: 273.9 kB / 1.379 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.964e-06/1.634, allocations: 4 kB / 1.379 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003441/1.634, allocations: 73.78 kB / 1.38 GB, free: 28.96 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001533/1.635, allocations: 101.5 kB / 1.38 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003615/1.635, allocations: 217.1 kB / 1.38 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.635, allocations: 0 / 1.38 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/1.635, allocations: 107.7 kB / 1.38 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/1.636, allocations: 110.1 kB / 1.38 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/1.637, allocations: 0.5072 MB / 1.381 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/1.637, allocations: 0.8295 MB / 1.381 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002136/1.637, allocations: 56.36 kB / 1.381 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/1.638, allocations: 29.11 kB / 1.381 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.638, allocations: 0 / 1.381 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of Templates: time 0.007993/1.646, allocations: 3.966 MB / 1.385 GB, free: 26.86 MB / 0.8386 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","../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches