Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_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.003694/0.003694, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001097/0.001097, allocations: 193.9 kB / 16.68 MB, free: 5.969 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.202/1.202, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.127/2.127, allocations: 437.1 MB / 0.7106 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 71.89 kB / 1.018 GB, free: 9.828 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5582/0.5598, allocations: 151.6 MB / 1.166 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001905/0.5618, allocations: 1.124 MB / 1.167 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000978/0.5627, allocations: 1.014 MB / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.5628, allocations: 4 kB / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.898e-05/0.5629, allocations: 19.73 kB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.563, allocations: 27.67 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.5632, allocations: 75.91 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.5634, allocations: 220.2 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.5636, allocations: 116.2 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.5637, allocations: 95.64 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.5638, allocations: 95.47 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.5639, allocations: 24 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.054e-05/0.5639, allocations: 31.94 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.5639, allocations: 47.84 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.621e-05/0.564, allocations: 95.47 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.5643, allocations: 286.5 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.5643, allocations: 4 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5643, allocations: 0 / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.5643, allocations: 0 / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006163/0.5649, allocations: 0.491 MB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.565, allocations: 16.86 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.834e-05/0.565, allocations: 54.73 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.5651, allocations: 24.78 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.5655, allocations: 272.4 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.5655, allocations: 12.81 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.5655, allocations: 20.38 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.5659, allocations: 191.6 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.5659, allocations: 4 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.5659, allocations: 8 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.5659, allocations: 4 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.5662, allocations: 149.6 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006515/0.5669, allocations: 0.561 MB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.5672, allocations: 134.6 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.5673, allocations: 60.81 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.5674, allocations: 4 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.5674, allocations: 30.56 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.5674, allocations: 4 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0005135/0.5679, allocations: 211.3 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.568, allocations: 51.41 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.5681, allocations: 182.8 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.5681, allocations: 25.7 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.985e-05/0.5682, allocations: 148.3 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.5682, allocations: 39.77 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.5683, allocations: 57.64 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5684, allocations: 318.8 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.5686, allocations: 55.95 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.5687, allocations: 97.11 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.569, allocations: 144.1 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.569, allocations: 3.938 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00035/0.5694, allocations: 173.4 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.5694, allocations: 8 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.5694, allocations: 0 / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5694, allocations: 12.09 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.5696, allocations: 31.97 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5696, allocations: 4 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.951e-05/0.5697, allocations: 23.81 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.5697, allocations: 8 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.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 (20): * Single equations (assignments): 20 * 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.0001012/0.5698, allocations: 133.8 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.5699, allocations: 15.91 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.5699, allocations: 33.45 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.5699, allocations: 3.938 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.5699, allocations: 0 / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5699, allocations: 4 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.5702, allocations: 261.5 kB / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5702, allocations: 4 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.5703, allocations: 23.92 kB / 1.173 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.5703, allocations: 4 kB / 1.173 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.5703, allocations: 0 / 1.173 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.5703, allocations: 3.938 kB / 1.173 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5703, allocations: 7.984 kB / 1.173 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.5707, allocations: 247.3 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.5707, allocations: 89.02 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.5708, allocations: 4 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.87e-05/0.5709, allocations: 11.92 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.571, allocations: 35.95 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.571, allocations: 0 / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.728e-05/0.571, allocations: 120.2 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.783e-06/0.5711, allocations: 0 / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002222/0.5713, allocations: 39.83 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0006263/0.5719, allocations: 0.7937 MB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.5723, allocations: 142.3 kB / 1.175 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5723, allocations: 320 / 1.175 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.5724, allocations: 79.89 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.5727, allocations: 19.94 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.5747, allocations: 1.919 MB / 1.177 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.575, allocations: 0.7319 MB / 1.177 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.658e-05/0.5751, allocations: 17.55 kB / 1.178 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.995e-05/0.5752, allocations: 67.41 kB / 1.178 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/0.5752, allocations: 0 / 1.178 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.71/3.285, allocations: 3.178 MB / 1.181 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/15.52, allocations: 5.172 kB / 1.181 GB, free: 4.586 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches