Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.277/2.277, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001178/0.001178, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0009386/0.0009385, allocations: 91.52 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.905e-05/3.924e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2922, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8617/1.154, allocations: 151 MB / 1.366 GB, free: 3.016 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/1.154, allocations: 75.56 kB / 1.366 GB, free: 2.973 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00749/1.162, allocations: 3.101 MB / 1.37 GB, free: 308 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.162e-06/1.162, allocations: 0 / 1.37 GB, free: 308 kB / 0.823 GB Notification: Performance of Transformations before backend: time 9.818e-06/1.162, allocations: 8 kB / 1.37 GB, free: 300 kB / 0.823 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.0005262/1.162, allocations: 459.8 kB / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.162, allocations: 12.03 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.669e-05/1.162, allocations: 49.8 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/1.162, allocations: 27.67 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/1.163, allocations: 182.8 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/1.163, allocations: 23.38 kB / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/1.163, allocations: 18.62 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/1.163, allocations: 173.4 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.163, allocations: 4 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/1.163, allocations: 3.375 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/1.163, allocations: 4 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/1.163, allocations: 138.4 kB / 1.371 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008128/1.164, allocations: 0.6013 MB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/1.164, allocations: 129 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.117e-05/1.164, allocations: 52.67 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/1.164, allocations: 0 / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/1.164, allocations: 33.62 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/1.164, allocations: 4 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002716/1.165, allocations: 132.3 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/1.165, allocations: 55.41 kB / 1.372 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/1.165, allocations: 175.7 kB / 1.372 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/1.165, allocations: 29.14 kB / 1.372 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/1.165, allocations: 131.6 kB / 1.372 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/1.165, allocations: 42.58 kB / 1.372 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/1.165, allocations: 3.125 kB / 1.372 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.165, allocations: 325.1 kB / 1.372 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.982e-05/1.165, allocations: 37.47 kB / 1.372 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.164e-05/1.165, allocations: 38.78 kB / 1.372 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.345e-05/1.165, allocations: 35.75 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.165, allocations: 0 / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001958/1.166, allocations: 131.7 kB / 1.372 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.166, allocations: 4 kB / 1.372 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.166, allocations: 0 / 1.372 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/1.166, allocations: 0 / 1.372 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/1.166, allocations: 34.78 kB / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/1.166, allocations: 0 / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/1.166, allocations: 23.89 kB / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/1.166, allocations: 7.188 kB / 1.373 GB, free: 13.47 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 7.187e-05/1.166, allocations: 110.4 kB / 1.373 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/1.166, allocations: 19.77 kB / 1.373 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/1.166, allocations: 19.77 kB / 1.373 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.166, allocations: 4 kB / 1.373 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.166, allocations: 7.938 kB / 1.373 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.166, allocations: 0 / 1.373 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/1.167, allocations: 284.6 kB / 1.373 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/1.167, allocations: 0 / 1.373 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/1.167, allocations: 19.98 kB / 1.373 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/1.167, allocations: 4 kB / 1.373 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/1.167, allocations: 11.39 kB / 1.373 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.167, allocations: 3.984 kB / 1.373 GB, free: 13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.167, allocations: 3.938 kB / 1.373 GB, free: 13 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/1.167, allocations: 237.4 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/1.167, allocations: 88.92 kB / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/1.167, allocations: 7.688 kB / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/1.167, allocations: 15.94 kB / 1.373 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/1.167, allocations: 22.78 kB / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/1.167, allocations: 4 kB / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001021/1.167, allocations: 143.5 kB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.167, allocations: 0 / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002282/1.168, allocations: 31.44 kB / 1.373 GB, free: 12.49 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.0005202/1.168, allocations: 0.7832 MB / 1.374 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000207/1.168, allocations: 105.7 kB / 1.374 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/1.168, allocations: 0 / 1.374 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.629e-05/1.169, allocations: 64.36 kB / 1.374 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/1.169, allocations: 20.05 kB / 1.374 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000569/1.169, allocations: 265.5 kB / 1.375 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/1.17, allocations: 0.7363 MB / 1.375 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.602e-05/1.17, allocations: 21.14 kB / 1.375 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.092e-05/1.17, allocations: 54.92 kB / 1.375 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of SimCode: time 3.2e-07/1.17, allocations: 4 kB / 1.375 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/1.183, allocations: 3.26 MB / 1.379 GB, free: 7.504 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/1.184, allocations: 224.1 kB / 1.379 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.763, allocations: 0 / 1.379 GB, free: 7.273 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat