Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001403/0.001403, allocations: 180.8 kB / 492.3 MB, free: 0.6016 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.632/1.632, allocations: 221.3 MB / 0.7872 GB, free: 12.94 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.001145/0.001145, allocations: 98.53 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.273e-05, allocations: 7.984 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2843, allocations: 142.4 MB / 1.213 GB, free: 38.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.973/1.257, allocations: 150 MB / 1.359 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/1.258, allocations: 84.72 kB / 1.359 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009106/1.267, allocations: 2.425 MB / 1.361 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.753e-06/1.267, allocations: 0 / 1.361 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.397e-05/1.267, allocations: 3.844 kB / 1.361 GB, free: 34.57 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.000611/1.268, allocations: 424.3 kB / 1.362 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/1.268, allocations: 7.688 kB / 1.362 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.74e-05/1.268, allocations: 44.8 kB / 1.362 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/1.268, allocations: 19.38 kB / 1.362 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/1.268, allocations: 187.7 kB / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/1.268, allocations: 7.344 kB / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/1.268, allocations: 15.12 kB / 1.362 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/1.268, allocations: 129.4 kB / 1.362 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.268, allocations: 0 / 1.362 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/1.268, allocations: 6.656 kB / 1.362 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/1.268, allocations: 3.875 kB / 1.362 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/1.269, allocations: 85.77 kB / 1.362 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009317/1.27, allocations: 0.5032 MB / 1.363 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/1.27, allocations: 96.52 kB / 1.363 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.531e-05/1.27, allocations: 41.02 kB / 1.363 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/1.27, allocations: 4 kB / 1.363 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/1.27, allocations: 36.02 kB / 1.363 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.754e-06/1.27, allocations: 0 / 1.363 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.000337/1.27, allocations: 104.8 kB / 1.363 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/1.27, allocations: 57 kB / 1.363 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/1.271, allocations: 150.8 kB / 1.363 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/1.271, allocations: 27.53 kB / 1.363 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/1.271, allocations: 123.3 kB / 1.363 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/1.271, allocations: 29.23 kB / 1.363 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/1.271, allocations: 3.938 kB / 1.363 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.004e-05/1.271, allocations: 320.8 kB / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.997e-05/1.271, allocations: 26.88 kB / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/1.271, allocations: 28.94 kB / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.783e-05/1.271, allocations: 26.12 kB / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/1.271, allocations: 3.938 kB / 1.364 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002391/1.271, allocations: 104.8 kB / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.271, allocations: 5.312 kB / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.271, allocations: 4 kB / 1.364 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/1.271, allocations: 0 / 1.364 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/1.272, allocations: 33.25 kB / 1.364 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/1.272, allocations: 0.5469 kB / 1.364 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/1.272, allocations: 26.34 kB / 1.364 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/1.272, allocations: 5.672 kB / 1.364 GB, free: 32.77 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 9.072e-05/1.272, allocations: 113.1 kB / 1.364 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/1.272, allocations: 7.812 kB / 1.364 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/1.272, allocations: 17.09 kB / 1.364 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.272, allocations: 3.969 kB / 1.364 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.272, allocations: 0 / 1.364 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.272, allocations: 1.875 kB / 1.364 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/1.272, allocations: 243.8 kB / 1.364 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.272, allocations: 0 / 1.364 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/1.273, allocations: 33.55 kB / 1.364 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/1.273, allocations: 0 / 1.364 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/1.273, allocations: 2.016 kB / 1.364 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.273, allocations: 3.875 kB / 1.364 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.273, allocations: 0 / 1.364 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/1.273, allocations: 206.2 kB / 1.365 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/1.273, allocations: 91.98 kB / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/1.273, allocations: 0 / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/1.273, allocations: 19.5 kB / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.545e-05/1.273, allocations: 17.08 kB / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/1.273, allocations: 5.719 kB / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001034/1.274, allocations: 119.5 kB / 1.365 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/1.274, allocations: 0 / 1.365 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004029/1.274, allocations: 30.28 kB / 1.365 GB, free: 32.12 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.0005999/1.275, allocations: 0.7543 MB / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002385/1.275, allocations: 83.16 kB / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.275, allocations: 0 / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/1.275, allocations: 41.64 kB / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/1.275, allocations: 10.55 kB / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000745/1.276, allocations: 229.5 kB / 1.366 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/1.276, allocations: 0.7137 MB / 1.367 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001129/1.276, allocations: 15.03 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/1.277, allocations: 44.02 kB / 1.367 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.277, allocations: 0 / 1.367 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/1.295, allocations: 2.675 MB / 1.369 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/1.295, allocations: 211.1 kB / 1.37 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.883, allocations: 0.9375 kB / 1.37 GB, free: 30.14 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat