Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0016/0.0016, allocations: 189.3 kB / 16.25 MB, free: 6.625 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.493/1.493, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002448/0.002448, allocations: 71.89 kB / 0.8121 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8795/0.8819, allocations: 140.3 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.003145/0.8851, allocations: 1.163 MB / 0.9503 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.887, allocations: 1.003 MB / 0.9513 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002832/0.8874, allocations: 3.625 kB / 0.9513 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.8875, allocations: 15.8 kB / 0.9513 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.8878, allocations: 14.48 kB / 0.9513 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.8882, allocations: 66.61 kB / 0.9514 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.8886, allocations: 226.1 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/0.8889, allocations: 118.7 kB / 0.9517 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.8891, allocations: 88.92 kB / 0.9518 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.8893, allocations: 95.09 kB / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.882e-05/0.8893, allocations: 22.31 kB / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.292e-05/0.8894, allocations: 27.5 kB / 0.9519 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.327e-05/0.8894, allocations: 49.34 kB / 0.952 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.251e-05/0.8895, allocations: 101.3 kB / 0.9521 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.8899, allocations: 273.1 kB / 0.9523 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.8899, allocations: 1.219 kB / 0.9523 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8899, allocations: 0 / 0.9523 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.8899, allocations: 0 / 0.9523 GB, free: 6.609 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008531/0.8908, allocations: 491.5 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.8908, allocations: 8.156 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.021e-05/0.8909, allocations: 32.12 kB / 0.9528 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.8914, allocations: 279.2 kB / 0.9531 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.8914, allocations: 13 kB / 0.9531 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.8915, allocations: 20.72 kB / 0.9531 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.8919, allocations: 189.1 kB / 0.9533 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.8919, allocations: 0 / 0.9533 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.892, allocations: 17.44 kB / 0.9533 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.892, allocations: 5.312 kB / 0.9533 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003762/0.8924, allocations: 145.2 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007685/0.8931, allocations: 0.5691 MB / 0.954 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.8935, allocations: 128.4 kB / 0.9541 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.8936, allocations: 62.02 kB / 0.9542 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.8937, allocations: 5.531 kB / 0.9542 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.8937, allocations: 32.69 kB / 0.9542 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.8937, allocations: 0 / 0.9542 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005935/0.8943, allocations: 218.4 kB / 0.9544 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.8943, allocations: 52.69 kB / 0.9545 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.8945, allocations: 173 kB / 0.9547 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.8945, allocations: 25.7 kB / 0.9547 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.267e-05/0.8946, allocations: 139.5 kB / 0.9548 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.8946, allocations: 44.77 kB / 0.9549 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.345e-05/0.8947, allocations: 51.59 kB / 0.9549 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.8948, allocations: 321.7 kB / 0.9552 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.895, allocations: 52.66 kB / 0.9553 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.8952, allocations: 101.8 kB / 0.9554 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.8955, allocations: 139.3 kB / 0.9555 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8955, allocations: 0 / 0.9555 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000412/0.8959, allocations: 186.8 kB / 0.9557 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.8959, allocations: 6.875 kB / 0.9557 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.8959, allocations: 5.938 kB / 0.9557 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.896, allocations: 2.219 kB / 0.9557 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.8962, allocations: 38.5 kB / 0.9557 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.8962, allocations: 6.219 kB / 0.9557 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.8963, allocations: 20.14 kB / 0.9558 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.8963, allocations: 14.09 kB / 0.9558 GB, free: 3.73 MB / 0.7169 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.000113/0.8964, allocations: 129.2 kB / 0.9559 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.8965, allocations: 10.62 kB / 0.9559 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.8965, allocations: 28.89 kB / 0.9559 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.8965, allocations: 5.172 kB / 0.9559 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.8966, allocations: 1.188 kB / 0.9559 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8966, allocations: 0 / 0.9559 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.8968, allocations: 262.7 kB / 0.9562 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8968, allocations: 4 kB / 0.9562 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.897, allocations: 27.94 kB / 0.9562 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.897, allocations: 0 / 0.9562 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.897, allocations: 9.312 kB / 0.9562 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.897, allocations: 1.438 kB / 0.9562 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.897, allocations: 0 / 0.9562 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.8974, allocations: 257.2 kB / 0.9565 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.8974, allocations: 97.38 kB / 0.9566 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.8975, allocations: 9.5 kB / 0.9566 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.8976, allocations: 8.359 kB / 0.9566 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/0.8977, allocations: 21.36 kB / 0.9566 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.8977, allocations: 3.656 kB / 0.9566 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.24e-05/0.8978, allocations: 120.8 kB / 0.9567 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8978, allocations: 0 / 0.9567 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002678/0.8981, allocations: 39.62 kB / 0.9568 GB, free: 2.848 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: 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.000136/0.8982, allocations: 111 kB / 0.9569 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004279/0.8986, allocations: 137.5 kB / 0.957 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8986, allocations: 0 / 0.957 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.8988, allocations: 79.14 kB / 0.9571 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.8992, allocations: 21.42 kB / 0.9571 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006758/0.8999, allocations: 391 kB / 0.9575 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.9001, allocations: 0.732 MB / 0.9582 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.9002, allocations: 21.02 kB / 0.9582 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.9003, allocations: 17.66 kB / 0.9582 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.9003, allocations: 0 / 0.9582 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of Templates: time 0.004786/0.9051, allocations: 1.357 MB / 0.9595 GB, free: 0.9648 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches