Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.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.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan",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.001025/0.001025, allocations: 91.61 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.001197/0.001197, 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.402/1.402, allocations: 223.3 MB / 240 MB, free: 5.41 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.495/2.495, allocations: 390.4 MB / 0.6655 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004018, allocations: 8 kB / 0.815 GB, free: 13.95 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7734/0.7738, allocations: 142.3 MB / 0.954 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.001141/0.775, allocations: 0.8097 MB / 0.9548 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009614/0.776, allocations: 0.9941 MB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.617e-05/0.7761, allocations: 4.375 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.7762, allocations: 16.83 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.433e-05/0.7763, allocations: 23.02 kB / 0.9558 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.7765, allocations: 63.7 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.7767, allocations: 217.3 kB / 0.956 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.7769, allocations: 86.22 kB / 0.9561 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.916e-05/0.7769, allocations: 48.73 kB / 0.9562 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.777, allocations: 76.89 kB / 0.9562 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.7771, allocations: 5.844 kB / 0.9562 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.137e-05/0.7771, allocations: 5.5 kB / 0.9563 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.7771, allocations: 17.92 kB / 0.9563 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.7772, allocations: 56.48 kB / 0.9563 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.7773, allocations: 264.6 kB / 0.9566 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.7773, allocations: 0 / 0.9566 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7774, allocations: 1.094 kB / 0.9566 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7774, allocations: 0 / 0.9566 GB, free: 6.055 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.000541/0.7779, allocations: 483.8 kB / 0.957 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.778, allocations: 8.594 kB / 0.957 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.778, allocations: 57.97 kB / 0.9571 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.7781, allocations: 27.14 kB / 0.9571 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.7784, allocations: 276.9 kB / 0.9574 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.7784, allocations: 16.75 kB / 0.9574 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.7785, allocations: 16.31 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.7789, allocations: 226.1 kB / 0.9576 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.7789, allocations: 4 kB / 0.9576 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.7789, allocations: 6.562 kB / 0.9576 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.7789, allocations: 8.828 kB / 0.9577 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.7792, allocations: 176.2 kB / 0.9578 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008098/0.7801, allocations: 0.7129 MB / 0.9585 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.7802, allocations: 92.61 kB / 0.9586 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.7804, allocations: 54.95 kB / 0.9587 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.7804, allocations: 5.359 kB / 0.9587 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.7804, allocations: 36.06 kB / 0.9587 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.7804, allocations: 5.375 kB / 0.9587 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004252/0.7808, allocations: 173.7 kB / 0.9589 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.7809, allocations: 52.56 kB / 0.9589 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.7811, allocations: 221.5 kB / 0.9591 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.7811, allocations: 27.39 kB / 0.9592 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.7812, allocations: 158 kB / 0.9593 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.7812, allocations: 32.3 kB / 0.9593 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.7812, allocations: 1.094 kB / 0.9593 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.065e-05/0.7812, allocations: 331.2 kB / 0.9597 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.7814, allocations: 54.31 kB / 0.9597 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.7815, allocations: 95.52 kB / 0.9598 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.7817, allocations: 64.86 kB / 0.9599 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7817, allocations: 3.938 kB / 0.9599 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003352/0.782, allocations: 189.9 kB / 0.96 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.7821, allocations: 6.156 kB / 0.9601 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.7821, allocations: 8.906 kB / 0.9601 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.7821, allocations: 3.094 kB / 0.9601 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.7823, allocations: 39.88 kB / 0.9601 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.7823, allocations: 3.188 kB / 0.9601 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.7824, allocations: 21.11 kB / 0.9601 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.7824, allocations: 5 kB / 0.9601 GB, free: 3.109 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.741e-05/0.7825, allocations: 145.1 kB / 0.9603 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.7826, allocations: 15.97 kB / 0.9603 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.7829, allocations: 168 kB / 0.9604 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7829, allocations: 1.375 kB / 0.9604 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.783, allocations: 4 kB / 0.9604 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.783, allocations: 5.688 kB / 0.9605 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000578/0.7835, allocations: 0.53 MB / 0.961 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.7836, allocations: 1.375 kB / 0.961 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.7837, allocations: 28.55 kB / 0.961 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.7837, allocations: 1.375 kB / 0.961 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.7837, allocations: 2.75 kB / 0.961 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.7837, allocations: 1.375 kB / 0.961 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.7837, allocations: 4.859 kB / 0.961 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.784, allocations: 263.7 kB / 0.9613 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.7841, allocations: 94.47 kB / 0.9614 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.7841, allocations: 6.031 kB / 0.9614 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.7842, allocations: 21.42 kB / 0.9614 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.7843, allocations: 17.19 kB / 0.9614 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.7843, allocations: 3.969 kB / 0.9614 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001128/0.7844, allocations: 151.8 kB / 0.9615 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7844, allocations: 1.312 kB / 0.9615 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002875/0.7847, allocations: 37.16 kB / 0.9616 GB, free: 1.887 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0005183/0.7852, allocations: 0.8156 MB / 0.9624 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003046/0.7856, allocations: 115.7 kB / 0.9625 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7856, allocations: 4.875 kB / 0.9625 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.7857, allocations: 58.44 kB / 0.9625 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.7861, allocations: 30.5 kB / 0.9626 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.7876, allocations: 1.076 MB / 0.9636 GB, free: 244 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.7879, allocations: 0.738 MB / 0.9643 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000102/0.788, allocations: 21.77 kB / 0.9644 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.836e-05/0.7881, allocations: 68.03 kB / 0.9644 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.7881, allocations: 0 / 0.9644 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.8052, allocations: 3.503 MB / 0.9679 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/0.8056, allocations: 254 kB / 0.9681 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/2.649, allocations: 4.938 kB / 0.9681 GB, free: 13.56 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat does not exist to compare? outputFormat=mat