Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.001019/0.001019, 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.001395/0.001395, 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.414/1.414, allocations: 223.2 MB / 239.9 MB, free: 5.324 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.35/2.35, allocations: 390.3 MB / 0.6653 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003857, allocations: 12 kB / 0.8147 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.7114, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001097/0.7125, allocations: 0.6822 MB / 0.9543 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.7136, allocations: 0.9594 MB / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.84e-05/0.7137, allocations: 2.875 kB / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.7138, allocations: 7.875 kB / 0.9553 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.7139, allocations: 23.05 kB / 0.9553 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.7141, allocations: 45.22 kB / 0.9553 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.7142, allocations: 90.27 kB / 0.9554 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.7144, allocations: 66.83 kB / 0.9555 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.7146, allocations: 48.08 kB / 0.9555 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.43e-05/0.7147, allocations: 53.86 kB / 0.9556 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.7147, allocations: 5.094 kB / 0.9556 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.093e-05/0.7148, allocations: 7.656 kB / 0.9556 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.7148, allocations: 16.27 kB / 0.9556 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.7148, allocations: 45.08 kB / 0.9556 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.715, allocations: 155.6 kB / 0.9558 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.715, allocations: 0.9688 kB / 0.9558 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.715, allocations: 0 / 0.9558 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.715, allocations: 0 / 0.9558 GB, free: 6.379 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005616/0.7156, allocations: 436.6 kB / 0.9562 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.7156, allocations: 13.09 kB / 0.9562 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.7157, allocations: 46.8 kB / 0.9563 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.7157, allocations: 20.05 kB / 0.9563 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.7161, allocations: 251.6 kB / 0.9565 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.7162, allocations: 18.7 kB / 0.9565 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.7162, allocations: 13.75 kB / 0.9566 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.7165, allocations: 146 kB / 0.9567 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.7166, allocations: 0 / 0.9567 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.7166, allocations: 12.89 kB / 0.9567 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.7166, allocations: 3.344 kB / 0.9567 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.7169, allocations: 125.7 kB / 0.9568 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.7175, allocations: 474.6 kB / 0.9573 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.7178, allocations: 116 kB / 0.9574 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.7178, allocations: 5.109 kB / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.7179, allocations: 36.06 kB / 0.9574 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.7179, allocations: 3.938 kB / 0.9574 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005205/0.7184, allocations: 186.8 kB / 0.9576 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.7184, allocations: 61.27 kB / 0.9577 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.7186, allocations: 153.6 kB / 0.9578 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.7186, allocations: 25.7 kB / 0.9578 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.7186, allocations: 124.1 kB / 0.958 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.7187, allocations: 30.67 kB / 0.958 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.7187, allocations: 5.719 kB / 0.958 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.629e-05/0.7187, allocations: 321.8 kB / 0.9583 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.7189, allocations: 42.75 kB / 0.9583 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.719, allocations: 79.48 kB / 0.9584 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.7192, allocations: 51.62 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7192, allocations: 4 kB / 0.9585 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003246/0.7195, allocations: 158.7 kB / 0.9586 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.7195, allocations: 5.312 kB / 0.9586 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.7195, allocations: 9.375 kB / 0.9586 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.7196, allocations: 5.078 kB / 0.9586 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.7197, allocations: 37.28 kB / 0.9587 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.7197, allocations: 1.375 kB / 0.9587 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.7198, allocations: 13.56 kB / 0.9587 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.7199, allocations: 8.109 kB / 0.9587 GB, free: 3.891 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.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 (14): * Single equations (assignments): 14 * 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 8.295e-05/0.7199, allocations: 130.1 kB / 0.9588 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.72, allocations: 13.31 kB / 0.9588 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.72, allocations: 11.47 kB / 0.9588 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.72, allocations: 5.328 kB / 0.9589 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.72, allocations: 0 / 0.9589 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.72, allocations: 3.984 kB / 0.9589 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.7202, allocations: 226.6 kB / 0.9591 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.7203, allocations: 0 / 0.9591 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.7204, allocations: 32.41 kB / 0.9591 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.7204, allocations: 1.375 kB / 0.9591 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.7204, allocations: 1.375 kB / 0.9591 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7204, allocations: 0 / 0.9591 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7204, allocations: 9.266 kB / 0.9591 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.7207, allocations: 242.5 kB / 0.9593 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.7208, allocations: 88.36 kB / 0.9594 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.7208, allocations: 1.25 kB / 0.9594 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.7209, allocations: 12.27 kB / 0.9594 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.721, allocations: 17.69 kB / 0.9595 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.721, allocations: 11.02 kB / 0.9595 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.7211, allocations: 108.8 kB / 0.9596 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7211, allocations: 3.938 kB / 0.9596 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002657/0.7213, allocations: 26.47 kB / 0.9596 GB, free: 3.062 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: 5 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked 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.000563/0.7219, allocations: 0.7753 MB / 0.9604 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003381/0.7223, allocations: 120.6 kB / 0.9605 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7223, allocations: 0 / 0.9605 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.7224, allocations: 62.66 kB / 0.9605 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.7227, allocations: 13.14 kB / 0.9605 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.7242, allocations: 1.265 MB / 0.9618 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.7243, allocations: 0.7245 MB / 0.9625 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.594e-05/0.7244, allocations: 16.55 kB / 0.9625 GB, free: 476 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.527e-05/0.7245, allocations: 42.48 kB / 0.9625 GB, free: 440 kB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.7245, allocations: 0 / 0.9625 GB, free: 440 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.7388, allocations: 2.476 MB / 0.965 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.739, allocations: 232.9 kB / 0.9652 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/2.407, allocations: 5.344 kB / 0.9652 GB, free: 15.09 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat