Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.455/1.455, allocations: 222.9 MB / 240.5 MB, free: 4.602 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.406/2.406, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.89 kB / 0.8126 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6854/0.6868, allocations: 140.3 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002506/0.6893, allocations: 1.327 MB / 0.9509 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.6906, allocations: 1.064 MB / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.6909, allocations: 5.812 kB / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.6911, allocations: 19.73 kB / 0.952 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.6912, allocations: 22.44 kB / 0.952 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.6915, allocations: 93.31 kB / 0.9521 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.6918, allocations: 267.2 kB / 0.9524 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.692, allocations: 165.3 kB / 0.9525 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.6922, allocations: 95.89 kB / 0.9526 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.6923, allocations: 111.3 kB / 0.9527 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.6924, allocations: 14.91 kB / 0.9527 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.451e-05/0.6924, allocations: 14.56 kB / 0.9527 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.034e-05/0.6925, allocations: 51.77 kB / 0.9528 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.159e-05/0.6926, allocations: 109.8 kB / 0.9529 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.6928, allocations: 305.4 kB / 0.9532 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.6928, allocations: 7.922 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6928, allocations: 1.094 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.6928, allocations: 0 / 0.9532 GB, free: 6.336 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007886/0.6936, allocations: 0.5421 MB / 0.9537 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.6936, allocations: 12.66 kB / 0.9537 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/0.6937, allocations: 30.84 kB / 0.9538 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.6942, allocations: 307.4 kB / 0.9541 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.6943, allocations: 19.31 kB / 0.9541 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.6943, allocations: 24.47 kB / 0.9541 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/0.6947, allocations: 235.3 kB / 0.9543 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.6948, allocations: 4 kB / 0.9543 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.6948, allocations: 13.97 kB / 0.9544 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.6948, allocations: 6.75 kB / 0.9544 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/0.6952, allocations: 175.9 kB / 0.9545 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008642/0.6961, allocations: 0.6698 MB / 0.9552 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.6965, allocations: 154.4 kB / 0.9553 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.6967, allocations: 68.22 kB / 0.9554 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.6967, allocations: 2.531 kB / 0.9554 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.6967, allocations: 35.83 kB / 0.9554 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.6967, allocations: 0 / 0.9554 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.00058/0.6973, allocations: 232 kB / 0.9556 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.6973, allocations: 53.62 kB / 0.9557 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.6975, allocations: 203.3 kB / 0.9559 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.6975, allocations: 35.12 kB / 0.9559 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.6976, allocations: 166 kB / 0.9561 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.6977, allocations: 50.2 kB / 0.9561 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.938e-05/0.6978, allocations: 58.16 kB / 0.9562 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.779e-05/0.6978, allocations: 331.1 kB / 0.9565 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.698, allocations: 60.86 kB / 0.9566 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.6982, allocations: 121.5 kB / 0.9567 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.6985, allocations: 163.9 kB / 0.9568 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6985, allocations: 0 / 0.9568 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004118/0.6989, allocations: 219.8 kB / 0.957 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.699, allocations: 6.844 kB / 0.9571 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.699, allocations: 1.094 kB / 0.9571 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.699, allocations: 9.078 kB / 0.9571 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.6992, allocations: 34.14 kB / 0.9571 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.6992, allocations: 6.391 kB / 0.9571 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.6993, allocations: 21.41 kB / 0.9571 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.6993, allocations: 19.52 kB / 0.9571 GB, free: 3.137 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.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 (25): * Single equations (assignments): 25 * 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.0001575/0.6995, allocations: 149.8 kB / 0.9573 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.6996, allocations: 20.31 kB / 0.9573 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.6996, allocations: 21.72 kB / 0.9573 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.6996, allocations: 5.266 kB / 0.9573 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.6996, allocations: 1.312 kB / 0.9573 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6996, allocations: 0 / 0.9573 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.6999, allocations: 292.3 kB / 0.9576 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6999, allocations: 1.25 kB / 0.9576 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.7, allocations: 32.53 kB / 0.9576 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.7, allocations: 5.375 kB / 0.9576 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.7001, allocations: 1.375 kB / 0.9576 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.7001, allocations: 3.938 kB / 0.9576 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7001, allocations: 1.375 kB / 0.9577 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.7004, allocations: 269.8 kB / 0.9579 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.7005, allocations: 99.77 kB / 0.958 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.7005, allocations: 4 kB / 0.958 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.7007, allocations: 18.8 kB / 0.958 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/0.7008, allocations: 27.64 kB / 0.9581 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.7008, allocations: 3.75 kB / 0.9581 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.96e-05/0.7009, allocations: 143.5 kB / 0.9582 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7009, allocations: 0 / 0.9582 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002836/0.7012, allocations: 42.34 kB / 0.9582 GB, free: 2.195 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: 9 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001159/0.7013, allocations: 118.9 kB / 0.9583 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003877/0.7017, allocations: 160 kB / 0.9585 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7017, allocations: 0 / 0.9585 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.7019, allocations: 80.67 kB / 0.9586 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.7022, allocations: 25.5 kB / 0.9586 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.7028, allocations: 0.491 MB / 0.9591 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.703, allocations: 0.7435 MB / 0.9598 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.953e-05/0.7031, allocations: 29.61 kB / 0.9598 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of SimCode: time 4.4e-07/0.7031, allocations: 4 kB / 0.9598 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of Templates: time 0.004121/0.7072, allocations: 2.63 MB / 0.9624 GB, free: 15.48 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches