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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_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_9_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.001537/0.001537, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001672/0.001672, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.432/2.432, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003187, allocations: 8 kB / 0.8147 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7036/0.7039, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.001406/0.7054, allocations: 0.9174 MB / 0.9545 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.7069, allocations: 1.052 MB / 0.9556 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.7071, allocations: 3.812 kB / 0.9556 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.763e-05/0.7071, allocations: 16.67 kB / 0.9556 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.7073, allocations: 32.27 kB / 0.9556 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.7075, allocations: 69.33 kB / 0.9557 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.7078, allocations: 165.9 kB / 0.9558 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.708, allocations: 118.1 kB / 0.956 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.7082, allocations: 73.42 kB / 0.956 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.7083, allocations: 87.58 kB / 0.9561 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.7083, allocations: 6.875 kB / 0.9561 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.403e-05/0.7083, allocations: 7.031 kB / 0.9561 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.97e-05/0.7084, allocations: 30.91 kB / 0.9561 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.7084, allocations: 60.92 kB / 0.9562 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.7086, allocations: 292.9 kB / 0.9565 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.7086, allocations: 1.031 kB / 0.9565 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7087, allocations: 0 / 0.9565 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.7087, allocations: 0 / 0.9565 GB, free: 5.781 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.0006734/0.7093, allocations: 0.5099 MB / 0.957 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.7094, allocations: 9.375 kB / 0.957 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.006e-05/0.7095, allocations: 58.7 kB / 0.957 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.7095, allocations: 33.53 kB / 0.9571 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.71, allocations: 322.7 kB / 0.9574 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.71, allocations: 19.12 kB / 0.9574 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.7101, allocations: 23.12 kB / 0.9574 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.7105, allocations: 233.4 kB / 0.9577 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.7105, allocations: 0 / 0.9577 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.7106, allocations: 11.12 kB / 0.9577 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.7106, allocations: 6.031 kB / 0.9577 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.711, allocations: 192.9 kB / 0.9579 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008904/0.7119, allocations: 0.6625 MB / 0.9585 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.7123, allocations: 162.3 kB / 0.9587 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.7123, allocations: 3 kB / 0.9587 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.7124, allocations: 39.97 kB / 0.9587 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.7124, allocations: 0 / 0.9587 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0006047/0.713, allocations: 234.8 kB / 0.9589 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.713, allocations: 56.77 kB / 0.959 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.7132, allocations: 215.8 kB / 0.9592 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.7132, allocations: 27.08 kB / 0.9592 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.7133, allocations: 161.9 kB / 0.9594 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.7133, allocations: 52.8 kB / 0.9594 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.7134, allocations: 5.375 kB / 0.9594 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.876e-05/0.7134, allocations: 330.9 kB / 0.9597 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.7136, allocations: 61.09 kB / 0.9598 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.7138, allocations: 125 kB / 0.9599 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.714, allocations: 75.97 kB / 0.96 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.714, allocations: 0 / 0.96 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004504/0.7144, allocations: 229.2 kB / 0.9602 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.7145, allocations: 8.531 kB / 0.9602 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7145, allocations: 1.031 kB / 0.9602 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.7145, allocations: 3.562 kB / 0.9602 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.7147, allocations: 42 kB / 0.9602 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.7147, allocations: 10.83 kB / 0.9603 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.7149, allocations: 32.47 kB / 0.9603 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.7149, allocations: 11.53 kB / 0.9603 GB, free: 2.715 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 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.y,reaToInt2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.715, allocations: 142.7 kB / 0.9604 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.7151, allocations: 15.47 kB / 0.9605 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.045e-05/0.7151, allocations: 30.48 kB / 0.9605 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.7151, allocations: 2.25 kB / 0.9605 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.7152, allocations: 4 kB / 0.9605 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.7152, allocations: 0 / 0.9605 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.7154, allocations: 300.6 kB / 0.9608 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7154, allocations: 0.9062 kB / 0.9608 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.7156, allocations: 27.14 kB / 0.9608 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.7156, allocations: 1.75 kB / 0.9608 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.7156, allocations: 8.953 kB / 0.9608 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.7156, allocations: 5 kB / 0.9608 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7156, allocations: 0 / 0.9608 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.7161, allocations: 279.6 kB / 0.9611 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.7161, allocations: 98.38 kB / 0.9612 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.7161, allocations: 5.094 kB / 0.9612 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.7163, allocations: 13.08 kB / 0.9612 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.7164, allocations: 30.27 kB / 0.9612 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.7164, allocations: 3.906 kB / 0.9612 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.951e-05/0.7165, allocations: 136 kB / 0.9614 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7165, allocations: 0 / 0.9614 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003031/0.7168, allocations: 53.88 kB / 0.9614 GB, free: 1.773 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006065/0.7174, allocations: 0.8332 MB / 0.9622 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004224/0.7179, allocations: 175.5 kB / 0.9624 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7179, allocations: 0 / 0.9624 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.7181, allocations: 83.17 kB / 0.9625 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.7183, allocations: 17.22 kB / 0.9625 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.7206, allocations: 2.225 MB / 0.9647 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.7211, allocations: 0.7525 MB / 0.9654 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000166/0.7213, allocations: 27.28 kB / 0.9654 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.7214, allocations: 76.62 kB / 0.9655 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.7214, allocations: 0 / 0.9655 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.7368, allocations: 3.785 MB / 0.9692 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.737, allocations: 258.1 kB / 0.9694 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.444, allocations: 3.938 kB / 0.9694 GB, free: 12.25 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat