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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001196/0.001196, allocations: 172.7 kB / 15.95 MB, free: 208 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.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.687/2.687, allocations: 409.4 MB / 0.684 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003644, allocations: 8 kB / 0.8378 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7687/0.7691, allocations: 146.8 MB / 0.9812 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001295/0.7705, allocations: 0.6706 MB / 0.9818 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.7719, allocations: 0.952 MB / 0.9828 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.7721, allocations: 4 kB / 0.9828 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.453e-05/0.7722, allocations: 11.86 kB / 0.9828 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.7723, allocations: 15.86 kB / 0.9828 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.7726, allocations: 39.97 kB / 0.9828 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.7728, allocations: 139.7 kB / 0.983 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.773, allocations: 59.02 kB / 0.983 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.7732, allocations: 59.64 kB / 0.9831 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.7733, allocations: 55.7 kB / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.7733, allocations: 4 kB / 0.9831 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.968e-05/0.7734, allocations: 4 kB / 0.9832 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.7734, allocations: 15.92 kB / 0.9832 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.7735, allocations: 45.64 kB / 0.9832 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.7736, allocations: 149.9 kB / 0.9834 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.426e-05/0.7737, allocations: 0 / 0.9834 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7737, allocations: 0 / 0.9834 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.934e-06/0.7737, allocations: 0 / 0.9834 GB, free: 3.992 MB / 0.7325 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.0006392/0.7743, allocations: 428.8 kB / 0.9838 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.7744, allocations: 12.03 kB / 0.9838 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.892e-05/0.7745, allocations: 46.55 kB / 0.9838 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.7745, allocations: 15.81 kB / 0.9838 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.775, allocations: 267 kB / 0.9841 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.775, allocations: 12.28 kB / 0.9841 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.775, allocations: 19.89 kB / 0.9841 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.7754, allocations: 147.8 kB / 0.9843 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.7754, allocations: 4 kB / 0.9843 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.7754, allocations: 8 kB / 0.9843 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.7754, allocations: 0 / 0.9843 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.7758, allocations: 120.8 kB / 0.9844 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006516/0.7764, allocations: 472.3 kB / 0.9848 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.7767, allocations: 114.6 kB / 0.9849 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.7768, allocations: 56.88 kB / 0.985 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.7769, allocations: 4 kB / 0.985 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.7769, allocations: 34.56 kB / 0.985 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.813e-06/0.7769, allocations: 0 / 0.985 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005202/0.7774, allocations: 189.3 kB / 0.9852 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.7775, allocations: 59.34 kB / 0.9853 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.7776, allocations: 152.3 kB / 0.9854 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.7777, allocations: 25.7 kB / 0.9854 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.7778, allocations: 123.8 kB / 0.9856 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.7778, allocations: 27.56 kB / 0.9856 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.7778, allocations: 4 kB / 0.9856 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.7779, allocations: 326.8 kB / 0.9859 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.7781, allocations: 39.97 kB / 0.9859 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.7782, allocations: 82.14 kB / 0.986 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.7784, allocations: 56.28 kB / 0.9861 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.7784, allocations: 0 / 0.9861 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003532/0.7787, allocations: 169.3 kB / 0.9862 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.7788, allocations: 4 kB / 0.9862 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7788, allocations: 0 / 0.9862 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.7788, allocations: 4 kB / 0.9862 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.779, allocations: 28.08 kB / 0.9863 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.779, allocations: 0 / 0.9863 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.598e-05/0.7791, allocations: 19.98 kB / 0.9863 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.7791, allocations: 7.938 kB / 0.9863 GB, free: 0.7344 MB / 0.7325 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.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 0.0001137/0.7792, allocations: 133.8 kB / 0.9864 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.7793, allocations: 15.77 kB / 0.9864 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.7793, allocations: 20.7 kB / 0.9865 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.7793, allocations: 0 / 0.9865 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7793, allocations: 0 / 0.9865 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.7793, allocations: 0 / 0.9865 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.7796, allocations: 233.5 kB / 0.9867 GB, free: 284 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7796, allocations: 0 / 0.9867 GB, free: 284 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.7797, allocations: 27.98 kB / 0.9867 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.7797, allocations: 7.953 kB / 0.9867 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.7797, allocations: 3.984 kB / 0.9867 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.7797, allocations: 7.938 kB / 0.9867 GB, free: 236 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7798, allocations: 0 / 0.9867 GB, free: 236 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.7801, allocations: 231.4 kB / 0.9869 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.7802, allocations: 88.92 kB / 0.987 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.7802, allocations: 7.953 kB / 0.987 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.7803, allocations: 11.98 kB / 0.9871 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.7804, allocations: 15.98 kB / 0.9871 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.7804, allocations: 7.984 kB / 0.9871 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.878e-05/0.7805, allocations: 110.6 kB / 0.9872 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7805, allocations: 3.938 kB / 0.9872 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002554/0.7808, allocations: 23.94 kB / 0.9872 GB, free: 15.71 MB / 0.7481 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.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.0007/0.7815, allocations: 0.7864 MB / 0.988 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003641/0.7818, allocations: 124 kB / 0.9881 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7819, allocations: 0 / 0.9881 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.782, allocations: 59.89 kB / 0.9881 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.7823, allocations: 22.25 kB / 0.9882 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.7839, allocations: 0.8062 MB / 0.989 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.7842, allocations: 0.7123 MB / 0.9897 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.7843, allocations: 16.64 kB / 0.9897 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.371e-05/0.7844, allocations: 43.42 kB / 0.9897 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.7844, allocations: 4 kB / 0.9897 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.7981, allocations: 2.486 MB / 0.9921 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/0.7984, allocations: 263.8 kB / 0.9924 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/2.604, allocations: 0 / 0.9924 GB, free: 10.45 MB / 0.7481 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) Environment - environmentSimulation: 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