Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_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.006243/0.006243, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.001776/0.001776, allocations: 199.7 kB / 16.68 MB, free: 5.961 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.3/2.3, allocations: 437.1 MB / 0.7106 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2491, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002092/0.2513, allocations: 1.116 MB / 1.167 GB, free: 6.195 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.2524, allocations: 1.014 MB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.2525, allocations: 8 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.218e-05/0.2525, allocations: 19.73 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.944e-05/0.2526, allocations: 31.66 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.2528, allocations: 71.94 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000199/0.253, allocations: 216.2 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.2532, allocations: 124.1 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.2534, allocations: 95.62 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.2535, allocations: 91.55 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.2535, allocations: 23.94 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.601e-05/0.2536, allocations: 24 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.666e-05/0.2536, allocations: 51.84 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.019e-05/0.2537, allocations: 99.44 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.254, allocations: 291 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.254, allocations: 0 / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.452e-06/0.254, allocations: 0 / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.254, allocations: 4 kB / 1.169 GB, free: 4.035 MB / 0.92 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.0006215/0.2546, allocations: 498.8 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.2546, allocations: 8.031 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.51e-05/0.2547, allocations: 54.73 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.2548, allocations: 24.73 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.2552, allocations: 276.4 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.2552, allocations: 16.81 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.2552, allocations: 28.31 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.2556, allocations: 187.6 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2556, allocations: 0 / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.2556, allocations: 8 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.2556, allocations: 11.98 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.256, allocations: 145.7 kB / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006973/0.2567, allocations: 0.561 MB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.257, allocations: 130.4 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.2572, allocations: 64.83 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.2572, allocations: 0 / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.2572, allocations: 30.56 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 9.12e-07/0.2572, allocations: 0 / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0005386/0.2578, allocations: 212 kB / 1.172 GB, free: 1.637 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.2578, allocations: 63.39 kB / 1.172 GB, free: 1.562 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.258, allocations: 179.3 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.258, allocations: 25.7 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.2581, allocations: 148.4 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.2581, allocations: 43.62 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/0.2582, allocations: 57.64 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2583, allocations: 322.8 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.2585, allocations: 55.97 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.2587, allocations: 91.17 kB / 1.173 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.259, allocations: 141 kB / 1.173 GB, free: 460 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.259, allocations: 0 / 1.173 GB, free: 460 kB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003809/0.2594, allocations: 186.6 kB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2594, allocations: 8 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2594, allocations: 0 / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2594, allocations: 11.88 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.2596, allocations: 31.97 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2596, allocations: 7.984 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-05/0.2597, allocations: 19.89 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.2597, allocations: 11.98 kB / 1.173 GB, free: 176 kB / 0.92 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.0001114/0.2598, allocations: 137.9 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.2599, allocations: 15.91 kB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.2599, allocations: 21.61 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2599, allocations: 3.938 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2599, allocations: 0 / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2599, allocations: 3.984 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.2602, allocations: 257.5 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.2602, allocations: 0 / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.2603, allocations: 39.84 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2604, allocations: 3.984 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.2604, allocations: 0 / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2604, allocations: 3.938 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2604, allocations: 0 / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.2608, allocations: 251.3 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.2608, allocations: 96.94 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.2609, allocations: 4 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.261, allocations: 11.94 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.261, allocations: 23.97 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.2611, allocations: 4 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.116e-05/0.2611, allocations: 115.2 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2611, allocations: 0 / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002405/0.2614, allocations: 35.89 kB / 1.174 GB, free: 15.07 MB / 0.9356 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.0006749/0.2621, allocations: 0.7978 MB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.2625, allocations: 147.7 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2625, allocations: 0 / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.2626, allocations: 70.86 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.2629, allocations: 28.52 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.2651, allocations: 1.924 MB / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.2655, allocations: 0.728 MB / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.346e-05/0.2656, allocations: 21.55 kB / 1.178 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.417e-05/0.2657, allocations: 61.3 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.2657, allocations: 0 / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.357/4.622, allocations: 3.181 MB / 1.181 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/17.4, allocations: 17.22 kB / 1.181 GB, free: 8.164 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches