Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.363/2.363, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001146/0.001146, allocations: 180.9 kB / 496.1 MB, free: 12.84 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.529/1.529, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0008912/0.0008913, allocations: 91.95 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.135e-05/4.154e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.316, allocations: 143 MB / 1.219 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.324, allocations: 150.8 MB / 1.366 GB, free: 3.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004334/1.325, allocations: 77.45 kB / 1.366 GB, free: 3.227 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008891/1.334, allocations: 2.42 MB / 1.369 GB, free: 1.141 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.378e-06/1.334, allocations: 4 kB / 1.369 GB, free: 1.137 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.892e-05/1.334, allocations: 4 kB / 1.369 GB, free: 1.133 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0009282/1.335, allocations: 422.2 kB / 1.369 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 8.573e-05/1.335, allocations: 8.031 kB / 1.369 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/1.335, allocations: 52.86 kB / 1.369 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.728e-05/1.335, allocations: 19.77 kB / 1.369 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/1.335, allocations: 179.6 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/1.335, allocations: 11.41 kB / 1.369 GB, free: 388 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/1.336, allocations: 18.25 kB / 1.369 GB, free: 376 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/1.336, allocations: 123.1 kB / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/1.336, allocations: 3.938 kB / 1.369 GB, free: 280 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/1.336, allocations: 7.562 kB / 1.369 GB, free: 276 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.336, allocations: 0 / 1.369 GB, free: 276 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/1.336, allocations: 103.8 kB / 1.37 GB, free: 208 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/1.337, allocations: 493.8 kB / 1.37 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/1.338, allocations: 104.3 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.469e-05/1.338, allocations: 47.64 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/1.338, allocations: 0 / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/1.338, allocations: 38.5 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 2.204e-06/1.338, allocations: 4 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.000312/1.338, allocations: 103 kB / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/1.338, allocations: 55.41 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/1.338, allocations: 158.6 kB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/1.338, allocations: 25.7 kB / 1.371 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/1.338, allocations: 121.8 kB / 1.371 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/1.339, allocations: 31.05 kB / 1.371 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/1.339, allocations: 0 / 1.371 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001699/1.339, allocations: 325.6 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-05/1.339, allocations: 30.25 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.507e-05/1.339, allocations: 26.38 kB / 1.371 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.793e-05/1.339, allocations: 27.05 kB / 1.371 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.339, allocations: 4 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001969/1.339, allocations: 98.03 kB / 1.371 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/1.339, allocations: 5.406 kB / 1.371 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/1.339, allocations: 0 / 1.371 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/1.339, allocations: 4 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/1.339, allocations: 27.41 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/1.339, allocations: 7.891 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/1.34, allocations: 23.89 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/1.34, allocations: 0 / 1.371 GB, free: 14.59 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: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001178/1.34, allocations: 113.1 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/1.34, allocations: 7.906 kB / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/1.34, allocations: 22.3 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.34, allocations: 0 / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/1.34, allocations: 4 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/1.34, allocations: 3.953 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/1.34, allocations: 237.6 kB / 1.372 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/1.34, allocations: 4 kB / 1.372 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/1.34, allocations: 23.97 kB / 1.372 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/1.34, allocations: 4 kB / 1.372 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/1.34, allocations: 0 / 1.372 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.34, allocations: 0 / 1.372 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.34, allocations: 0 / 1.372 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/1.341, allocations: 224.5 kB / 1.372 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.585e-05/1.341, allocations: 88.95 kB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/1.341, allocations: 3.438 kB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/1.341, allocations: 11.98 kB / 1.372 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/1.341, allocations: 22.41 kB / 1.372 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/1.341, allocations: 0 / 1.372 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001377/1.341, allocations: 118.6 kB / 1.372 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.341, allocations: 0 / 1.372 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002898/1.342, allocations: 38.78 kB / 1.372 GB, free: 13.69 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: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.00094/1.343, allocations: 0.7534 MB / 1.373 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002423/1.343, allocations: 75 kB / 1.373 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.343, allocations: 0 / 1.373 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/1.343, allocations: 48.67 kB / 1.373 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/1.343, allocations: 11 kB / 1.373 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008361/1.344, allocations: 215.6 kB / 1.373 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/1.345, allocations: 0.7196 MB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.964e-05/1.345, allocations: 12.56 kB / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-05/1.345, allocations: 44.34 kB / 1.374 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/1.345, allocations: 0 / 1.374 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/1.365, allocations: 2.677 MB / 1.377 GB, free: 9.398 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/1.365, allocations: 205.4 kB / 1.377 GB, free: 9.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.959, allocations: 2.438 kB / 1.377 GB, free: 9.18 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat