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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 387.1 MB / 399.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 172.9 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 221.3 MB / 0.7871 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008972/0.0008973, allocations: 95.94 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.063e-05/3.085e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2623, allocations: 142.3 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9371/1.199, allocations: 150.2 MB / 1.359 GB, free: 19.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/1.2, allocations: 78.12 kB / 1.359 GB, free: 19.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007924/1.208, allocations: 3.105 MB / 1.362 GB, free: 34.69 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.353e-06/1.208, allocations: 0 / 1.362 GB, free: 34.69 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.718e-06/1.208, allocations: 3.781 kB / 1.362 GB, free: 34.69 MB / 0.8386 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.0004811/1.208, allocations: 457.4 kB / 1.363 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.208, allocations: 9.5 kB / 1.363 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/1.208, allocations: 56.84 kB / 1.363 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/1.208, allocations: 23.28 kB / 1.363 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/1.208, allocations: 188.9 kB / 1.363 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/1.209, allocations: 15.5 kB / 1.363 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/1.209, allocations: 21.84 kB / 1.363 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/1.209, allocations: 178.4 kB / 1.363 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/1.209, allocations: 4 kB / 1.363 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/1.209, allocations: 12.2 kB / 1.363 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.209, allocations: 3.781 kB / 1.363 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/1.209, allocations: 126.8 kB / 1.363 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007927/1.21, allocations: 0.6003 MB / 1.364 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/1.21, allocations: 124.7 kB / 1.364 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.453e-05/1.21, allocations: 57.53 kB / 1.364 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/1.21, allocations: 3.953 kB / 1.364 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/1.21, allocations: 36.02 kB / 1.364 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/1.21, allocations: 0 / 1.364 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002618/1.211, allocations: 131.4 kB / 1.364 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/1.211, allocations: 59.22 kB / 1.364 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/1.211, allocations: 176.6 kB / 1.365 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/1.211, allocations: 29.7 kB / 1.365 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/1.211, allocations: 127.8 kB / 1.365 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/1.211, allocations: 41 kB / 1.365 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-06/1.211, allocations: 3.5 kB / 1.365 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.217e-05/1.211, allocations: 326.6 kB / 1.365 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.209e-05/1.211, allocations: 41.19 kB / 1.365 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/1.211, allocations: 39.77 kB / 1.365 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.903e-05/1.211, allocations: 29 kB / 1.365 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.211, allocations: 0 / 1.365 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001796/1.211, allocations: 137.7 kB / 1.365 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.211, allocations: 13.2 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/1.211, allocations: 0 / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/1.211, allocations: 0 / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/1.212, allocations: 29.58 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.212, allocations: 0 / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/1.212, allocations: 19.36 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/1.212, allocations: 9.531 kB / 1.365 GB, free: 32.83 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.088e-05/1.212, allocations: 117.3 kB / 1.365 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/1.212, allocations: 15.53 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/1.212, allocations: 25.98 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/1.212, allocations: 3.969 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.212, allocations: 0 / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.212, allocations: 1.641 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/1.212, allocations: 275.6 kB / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.212, allocations: 4 kB / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/1.212, allocations: 26.38 kB / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.212, allocations: 0 / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/1.212, allocations: 3.438 kB / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.212, allocations: 7.828 kB / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.212, allocations: 4.875 kB / 1.366 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/1.213, allocations: 231 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/1.213, allocations: 95.67 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/1.213, allocations: 6.844 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/1.213, allocations: 10.36 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/1.213, allocations: 25.36 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/1.213, allocations: 6.969 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.277e-05/1.213, allocations: 137.4 kB / 1.366 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.213, allocations: 0 / 1.366 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002304/1.213, allocations: 36.81 kB / 1.366 GB, free: 32.17 MB / 0.8386 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.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete 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 (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.0004794/1.214, allocations: 0.7876 MB / 1.367 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001888/1.214, allocations: 106.3 kB / 1.367 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.214, allocations: 0 / 1.367 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.999e-05/1.214, allocations: 61.48 kB / 1.367 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/1.214, allocations: 25.3 kB / 1.367 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005508/1.215, allocations: 259.9 kB / 1.368 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/1.215, allocations: 0.7395 MB / 1.368 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.485e-05/1.215, allocations: 18.42 kB / 1.368 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.987e-05/1.215, allocations: 56.67 kB / 1.368 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.215, allocations: 0 / 1.368 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/1.229, allocations: 3.269 MB / 1.372 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/1.229, allocations: 219.5 kB / 1.372 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.952, allocations: 3 kB / 1.372 GB, free: 30.12 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat