Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.004859/0.004859, allocations: 98.81 kB / 15.73 MB, free: 6.441 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.001322/0.001322, allocations: 193.3 kB / 16.67 MB, free: 6.352 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.549/2.549, allocations: 482.6 MB / 0.755 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 67.91 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2705, allocations: 162.3 MB / 1.242 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.00243/0.273, allocations: 1.307 MB / 1.243 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2744, allocations: 1.076 MB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.2745, allocations: 8 kB / 1.244 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.2747, allocations: 35.53 kB / 1.244 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.224e-05/0.2748, allocations: 27.67 kB / 1.244 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.2751, allocations: 111.8 kB / 1.244 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.2754, allocations: 304.3 kB / 1.245 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.2757, allocations: 185.4 kB / 1.245 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.2758, allocations: 111.5 kB / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.276, allocations: 135.3 kB / 1.245 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.2761, allocations: 32 kB / 1.245 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.921e-05/0.2761, allocations: 32 kB / 1.245 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.2762, allocations: 59.84 kB / 1.245 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.2763, allocations: 135.3 kB / 1.245 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004078/0.2767, allocations: 414.2 kB / 1.246 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2767, allocations: 0 / 1.246 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2767, allocations: 0 / 1.246 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.2767, allocations: 0 / 1.246 GB, free: 5.863 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008176/0.2776, allocations: 0.5572 MB / 1.246 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.2776, allocations: 8.031 kB / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.744e-05/0.2777, allocations: 66.72 kB / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.369e-05/0.2777, allocations: 36.75 kB / 1.246 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000536/0.2783, allocations: 325 kB / 1.247 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.2783, allocations: 24.94 kB / 1.247 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.2783, allocations: 24.38 kB / 1.247 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.2788, allocations: 233.4 kB / 1.247 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2788, allocations: 7.938 kB / 1.247 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.2788, allocations: 12 kB / 1.247 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2788, allocations: 4 kB / 1.247 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004315/0.2793, allocations: 186.1 kB / 1.247 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009341/0.2802, allocations: 0.6863 MB / 1.248 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.2807, allocations: 194.5 kB / 1.248 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.2809, allocations: 76.86 kB / 1.248 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.2809, allocations: 4.062 kB / 1.248 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.2809, allocations: 38.56 kB / 1.248 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/0.2809, allocations: 0 / 1.248 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0005955/0.2815, allocations: 227.2 kB / 1.248 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.2816, allocations: 55.41 kB / 1.248 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.2818, allocations: 215.7 kB / 1.249 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.2818, allocations: 33.7 kB / 1.249 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.2819, allocations: 168.6 kB / 1.249 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.282, allocations: 51.56 kB / 1.249 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/0.2821, allocations: 73.75 kB / 1.249 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2822, allocations: 330.8 kB / 1.249 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.2824, allocations: 64.42 kB / 1.249 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.2826, allocations: 124.7 kB / 1.249 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.283, allocations: 172.9 kB / 1.25 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.283, allocations: 0 / 1.25 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004489/0.2834, allocations: 225.3 kB / 1.25 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2834, allocations: 8 kB / 1.25 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2835, allocations: 0 / 1.25 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2835, allocations: 4 kB / 1.25 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.2836, allocations: 43.91 kB / 1.25 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2837, allocations: 0 / 1.25 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.2838, allocations: 36.03 kB / 1.25 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.2838, allocations: 8 kB / 1.25 GB, free: 1.312 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.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 (27): * Single equations (assignments): 27 * 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.0001355/0.284, allocations: 146.7 kB / 1.25 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.284, allocations: 19.86 kB / 1.25 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.2841, allocations: 25.86 kB / 1.25 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2841, allocations: 4 kB / 1.25 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2841, allocations: 0 / 1.25 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2841, allocations: 7.938 kB / 1.25 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.2844, allocations: 309.3 kB / 1.25 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2844, allocations: 0 / 1.25 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.2846, allocations: 27.97 kB / 1.25 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2846, allocations: 0 / 1.25 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.2846, allocations: 4 kB / 1.25 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2846, allocations: 0 / 1.25 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2846, allocations: 4 kB / 1.25 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.285, allocations: 284.9 kB / 1.251 GB, free: 432 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.2851, allocations: 96.91 kB / 1.251 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.2851, allocations: 11.98 kB / 1.251 GB, free: 304 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.2853, allocations: 7.984 kB / 1.251 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.2854, allocations: 31.91 kB / 1.251 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.2854, allocations: 8 kB / 1.251 GB, free: 256 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001026/0.2855, allocations: 137.5 kB / 1.251 GB, free: 120 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2855, allocations: 4 kB / 1.251 GB, free: 116 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002603/0.2858, allocations: 43.89 kB / 1.251 GB, free: 72 kB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (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,actAirSet.or2.y,actAirSet.or4.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 (19): * Single equations (assignments): 19 * 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.4749/0.7606, allocations: 0.8244 MB / 1.252 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004618/0.7611, allocations: 178.4 kB / 1.252 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7611, allocations: 0.9375 kB / 1.252 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.7613, allocations: 81.31 kB / 1.252 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.7616, allocations: 25.5 kB / 1.252 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.7639, allocations: 2.208 MB / 1.254 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.764, allocations: 0.756 MB / 1.255 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.7641, allocations: 28.89 kB / 1.255 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.7643, allocations: 81.19 kB / 1.255 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of SimCode: time 4e-07/0.7643, allocations: 0.8125 kB / 1.255 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.148/1.912, allocations: 4.014 MB / 1.259 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/12.74, allocations: 9.625 kB / 1.259 GB, free: 11.57 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches