Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008621/0.0008622, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004849/0.004849, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.173/1.173, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.064/2.064, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002839, allocations: 8 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5382/0.5385, allocations: 142.4 MB / 0.9552 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.0009729/0.5396, allocations: 0.7115 MB / 0.9559 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007692/0.5403, allocations: 0.9669 MB / 0.9569 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.5404, allocations: 2.188 kB / 0.9569 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.5404, allocations: 11.86 kB / 0.9569 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.592e-05/0.5405, allocations: 14.41 kB / 0.9569 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.5407, allocations: 57.31 kB / 0.9569 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.5408, allocations: 143.8 kB / 0.9571 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.541, allocations: 86.45 kB / 0.9572 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.5411, allocations: 56.27 kB / 0.9572 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/0.5412, allocations: 50.14 kB / 0.9573 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.5412, allocations: 5.125 kB / 0.9573 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.5412, allocations: 5.406 kB / 0.9573 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.5412, allocations: 26.97 kB / 0.9573 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.5413, allocations: 72.38 kB / 0.9574 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.5414, allocations: 194.9 kB / 0.9576 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5414, allocations: 0 / 0.9576 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5415, allocations: 0 / 0.9576 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.5415, allocations: 0 / 0.9576 GB, free: 5.855 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0004427/0.5419, allocations: 431.9 kB / 0.958 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.5419, allocations: 9.688 kB / 0.958 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.542, allocations: 53.77 kB / 0.958 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.542, allocations: 17.94 kB / 0.958 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.5424, allocations: 260.2 kB / 0.9583 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.5424, allocations: 11.81 kB / 0.9583 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.5424, allocations: 12.66 kB / 0.9583 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.5427, allocations: 160.7 kB / 0.9585 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.5427, allocations: 0 / 0.9585 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.5427, allocations: 5.875 kB / 0.9585 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.5427, allocations: 3.625 kB / 0.9585 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.5431, allocations: 124.5 kB / 0.9586 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.5435, allocations: 479.7 kB / 0.9591 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.5438, allocations: 108.1 kB / 0.9592 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.5439, allocations: 63.08 kB / 0.9592 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.5439, allocations: 5.359 kB / 0.9592 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.544, allocations: 39.88 kB / 0.9593 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.544, allocations: 0 / 0.9593 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004843/0.5444, allocations: 184.6 kB / 0.9594 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.816e-05/0.5445, allocations: 56.84 kB / 0.9595 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.5446, allocations: 152.9 kB / 0.9596 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.5446, allocations: 26.61 kB / 0.9597 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.5446, allocations: 123.6 kB / 0.9598 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.5447, allocations: 27.41 kB / 0.9598 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.5447, allocations: 29.02 kB / 0.9598 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.033e-05/0.5447, allocations: 329.5 kB / 0.9601 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.5449, allocations: 44.66 kB / 0.9602 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.545, allocations: 86.11 kB / 0.9603 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.5453, allocations: 116.5 kB / 0.9604 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5453, allocations: 0 / 0.9604 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003292/0.5456, allocations: 166.5 kB / 0.9605 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.5457, allocations: 7.938 kB / 0.9605 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5457, allocations: 1.031 kB / 0.9605 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.5457, allocations: 4.906 kB / 0.9606 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.5458, allocations: 30.05 kB / 0.9606 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5459, allocations: 0.9688 kB / 0.9606 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.607e-05/0.546, allocations: 26.08 kB / 0.9606 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.546, allocations: 8.094 kB / 0.9606 GB, free: 3.266 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.758e-05/0.546, allocations: 128.2 kB / 0.9607 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.5461, allocations: 13.31 kB / 0.9608 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.5461, allocations: 14.09 kB / 0.9608 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.5461, allocations: 5.375 kB / 0.9608 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.5461, allocations: 1.375 kB / 0.9608 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5461, allocations: 3.938 kB / 0.9608 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.5463, allocations: 230.6 kB / 0.961 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5463, allocations: 4 kB / 0.961 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.5464, allocations: 20.48 kB / 0.961 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5464, allocations: 1.375 kB / 0.961 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.5464, allocations: 7.984 kB / 0.961 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5464, allocations: 5.312 kB / 0.961 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5464, allocations: 4 kB / 0.961 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.5468, allocations: 244.5 kB / 0.9613 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.5468, allocations: 92.98 kB / 0.9614 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.5468, allocations: 5.375 kB / 0.9614 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.5469, allocations: 10.86 kB / 0.9614 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.547, allocations: 14.86 kB / 0.9614 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.547, allocations: 14.61 kB / 0.9614 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.471e-05/0.5471, allocations: 104.7 kB / 0.9615 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5471, allocations: 1.375 kB / 0.9615 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000232/0.5473, allocations: 32.72 kB / 0.9615 GB, free: 2.426 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000479/0.5478, allocations: 0.7726 MB / 0.9623 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.5481, allocations: 126 kB / 0.9624 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5481, allocations: 0 / 0.9624 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.5483, allocations: 66.14 kB / 0.9625 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.5486, allocations: 19.58 kB / 0.9625 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.5502, allocations: 1.795 MB / 0.9642 GB, free: 72 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.5504, allocations: 0.7229 MB / 0.9649 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.172e-05/0.5505, allocations: 16.64 kB / 0.965 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.5506, allocations: 49.3 kB / 0.965 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.5506, allocations: 0 / 0.965 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.557/2.108, allocations: 2.511 MB / 0.9675 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/2.108, allocations: 261.8 kB / 0.9677 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/3.596, allocations: 1.031 kB / 0.9677 GB, free: 13.93 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches