Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, 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.007125/0.007125, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.664/1.664, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.599/2.599, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003925, allocations: 11.98 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8865/0.8869, allocations: 142.4 MB / 0.9551 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001473/0.8884, allocations: 0.8173 MB / 0.9559 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.8895, allocations: 0.9905 MB / 0.9569 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.8896, allocations: 3.125 kB / 0.9569 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.736e-05/0.8897, allocations: 13.08 kB / 0.9569 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.8898, allocations: 13.92 kB / 0.9569 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.89, allocations: 74.94 kB / 0.957 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.8902, allocations: 206 kB / 0.9572 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.8905, allocations: 106.1 kB / 0.9573 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.8907, allocations: 63.95 kB / 0.9573 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.8908, allocations: 73.28 kB / 0.9574 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.8908, allocations: 9.812 kB / 0.9574 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.15e-05/0.8909, allocations: 8.531 kB / 0.9574 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.209e-05/0.8909, allocations: 26.02 kB / 0.9574 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.891, allocations: 103.7 kB / 0.9575 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.8912, allocations: 253.1 kB / 0.9578 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8912, allocations: 0 / 0.9578 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8912, allocations: 0 / 0.9578 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8912, allocations: 1.562 kB / 0.9578 GB, free: 5.809 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.0006086/0.8918, allocations: 463.9 kB / 0.9582 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.8919, allocations: 7.625 kB / 0.9582 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.8919, allocations: 23.59 kB / 0.9582 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.8924, allocations: 285 kB / 0.9585 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.8925, allocations: 21.19 kB / 0.9585 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.8925, allocations: 16.78 kB / 0.9586 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.8929, allocations: 198.3 kB / 0.9587 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.8929, allocations: 0 / 0.9587 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.893, allocations: 9.75 kB / 0.9587 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.893, allocations: 5.406 kB / 0.9588 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.8934, allocations: 167.6 kB / 0.9589 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007513/0.8941, allocations: 0.5681 MB / 0.9595 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.8945, allocations: 134.9 kB / 0.9596 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.8946, allocations: 64.52 kB / 0.9597 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.8947, allocations: 5.094 kB / 0.9597 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.8947, allocations: 43.92 kB / 0.9597 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.8947, allocations: 0 / 0.9597 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0006391/0.8953, allocations: 223.1 kB / 0.9599 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.8954, allocations: 53.53 kB / 0.96 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.8956, allocations: 177.2 kB / 0.9601 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.8956, allocations: 25.7 kB / 0.9602 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.8957, allocations: 139.7 kB / 0.9603 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.8957, allocations: 44.89 kB / 0.9603 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.8958, allocations: 31.64 kB / 0.9604 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.8958, allocations: 330 kB / 0.9607 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.896, allocations: 57.41 kB / 0.9607 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.8962, allocations: 109.7 kB / 0.9608 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.8966, allocations: 148.2 kB / 0.961 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8966, allocations: 0 / 0.961 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004186/0.897, allocations: 202.9 kB / 0.9612 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.897, allocations: 5.5 kB / 0.9612 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.897, allocations: 5.312 kB / 0.9612 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.8971, allocations: 6.688 kB / 0.9612 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.8973, allocations: 38.03 kB / 0.9612 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.8973, allocations: 6.906 kB / 0.9612 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.8974, allocations: 22.84 kB / 0.9613 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.8974, allocations: 9.141 kB / 0.9613 GB, free: 2.953 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.0001199/0.8975, allocations: 133.2 kB / 0.9614 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.8976, allocations: 10.78 kB / 0.9614 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.8976, allocations: 24.56 kB / 0.9614 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.8977, allocations: 5.562 kB / 0.9614 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.8977, allocations: 0 / 0.9614 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.8977, allocations: 8.719 kB / 0.9614 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.898, allocations: 262.8 kB / 0.9617 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.898, allocations: 0 / 0.9617 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.8981, allocations: 25.72 kB / 0.9617 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.8981, allocations: 4.812 kB / 0.9617 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.8981, allocations: 5.031 kB / 0.9617 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8981, allocations: 1.031 kB / 0.9617 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8982, allocations: 5.062 kB / 0.9617 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.8986, allocations: 262.7 kB / 0.962 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.8986, allocations: 96.39 kB / 0.9621 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.8987, allocations: 9.109 kB / 0.9621 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.8988, allocations: 7.719 kB / 0.9621 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.633e-05/0.8989, allocations: 24.84 kB / 0.9621 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.8989, allocations: 2.781 kB / 0.9621 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.512e-05/0.899, allocations: 120 kB / 0.9622 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.899, allocations: 0 / 0.9622 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002805/0.8993, allocations: 40.88 kB / 0.9623 GB, free: 2.074 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.0001555/0.8994, allocations: 114.8 kB / 0.9624 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.8999, allocations: 151.2 kB / 0.9625 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8999, allocations: 0 / 0.9625 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.9001, allocations: 79.36 kB / 0.9626 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.9005, allocations: 14.75 kB / 0.9626 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.9012, allocations: 404.5 kB / 0.963 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.9014, allocations: 0.7249 MB / 0.9637 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.9015, allocations: 28.22 kB / 0.9637 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.9015, allocations: 18.12 kB / 0.9638 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.9016, allocations: 0 / 0.9638 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of Templates: time 0.004517/0.9061, allocations: 1.281 MB / 0.965 GB, free: 220 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches