Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.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.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_VOut_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_VOut_flow",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.322/2.322, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001388/0.001388, allocations: 172.8 kB / 496.1 MB, free: 12.86 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.439/1.439, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.00103/0.00103, allocations: 95.95 kB / 0.9318 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.732e-05, allocations: 5.562 kB / 1.079 GB, free: 140.3 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2758, allocations: 143 MB / 1.219 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.284, allocations: 152.8 MB / 1.368 GB, free: 1.324 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/1.284, allocations: 80.56 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0151/1.299, allocations: 6.135 MB / 1.374 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.064e-06/1.3, allocations: 0 / 1.374 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.415e-05/1.3, allocations: 12 kB / 1.374 GB, free: 12.05 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0008352/1.3, allocations: 0.621 MB / 1.375 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.3, allocations: 8.031 kB / 1.375 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.674e-05/1.301, allocations: 80.39 kB / 1.375 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.894e-05/1.301, allocations: 55.28 kB / 1.375 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/1.301, allocations: 349 kB / 1.375 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/1.301, allocations: 30.62 kB / 1.375 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.048e-05/1.301, allocations: 44.62 kB / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/1.302, allocations: 402.8 kB / 1.376 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/1.302, allocations: 0 / 1.376 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/1.302, allocations: 16.75 kB / 1.376 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/1.302, allocations: 8 kB / 1.376 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/1.302, allocations: 273.9 kB / 1.376 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/1.304, allocations: 1.312 MB / 1.377 GB, free: 9.406 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/1.305, allocations: 256.3 kB / 1.378 GB, free: 9.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/1.305, allocations: 122.6 kB / 1.378 GB, free: 9.156 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/1.305, allocations: 4 kB / 1.378 GB, free: 9.152 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/1.305, allocations: 172.4 kB / 1.378 GB, free: 9.008 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/1.305, allocations: 0 / 1.378 GB, free: 9.008 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.0004441/1.306, allocations: 240.9 kB / 1.378 GB, free: 8.828 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/1.306, allocations: 136.5 kB / 1.378 GB, free: 8.664 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004059/1.306, allocations: 363.8 kB / 1.379 GB, free: 8.391 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/1.306, allocations: 29.45 kB / 1.379 GB, free: 8.359 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/1.306, allocations: 218.9 kB / 1.379 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/1.306, allocations: 81.03 kB / 1.379 GB, free: 8.137 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/1.306, allocations: 10.94 kB / 1.379 GB, free: 8.133 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.307, allocations: 345 kB / 1.379 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/1.307, allocations: 72.31 kB / 1.379 GB, free: 7.762 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/1.307, allocations: 124.6 kB / 1.379 GB, free: 7.656 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/1.307, allocations: 92.19 kB / 1.38 GB, free: 7.598 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.307, allocations: 0 / 1.38 GB, free: 7.598 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003905/1.307, allocations: 256.3 kB / 1.38 GB, free: 7.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.495e-05/1.308, allocations: 185 kB / 1.38 GB, free: 7.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.308, allocations: 0 / 1.38 GB, free: 7.219 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/1.308, allocations: 4 kB / 1.38 GB, free: 7.215 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/1.308, allocations: 55.91 kB / 1.38 GB, free: 7.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/1.308, allocations: 0 / 1.38 GB, free: 7.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/1.308, allocations: 58.03 kB / 1.38 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/1.308, allocations: 8 kB / 1.38 GB, free: 7.102 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.934e-06/1.308, allocations: 7.938 kB / 1.38 GB, free: 7.094 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000294/1.308, allocations: 193.1 kB / 1.38 GB, free: 6.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/1.308, allocations: 0 / 1.38 GB, free: 6.973 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.17e-06/1.308, allocations: 3.953 kB / 1.38 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/1.309, allocations: 51.95 kB / 1.38 GB, free: 6.918 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/1.309, allocations: 0 / 1.38 GB, free: 6.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/1.309, allocations: 54.03 kB / 1.38 GB, free: 6.871 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/1.309, allocations: 7.938 kB / 1.38 GB, free: 6.863 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,damLim.yEnaMinOut,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.717e-05/1.309, allocations: 119.9 kB / 1.38 GB, free: 6.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/1.309, allocations: 51.47 kB / 1.381 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/1.309, allocations: 272.9 kB / 1.381 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.309, allocations: 3.953 kB / 1.381 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.309, allocations: 4 kB / 1.381 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.309, allocations: 3.984 kB / 1.381 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/1.311, allocations: 0.8489 MB / 1.382 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/1.311, allocations: 4 kB / 1.382 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/1.311, allocations: 59.34 kB / 1.382 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/1.311, allocations: 4 kB / 1.382 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/1.311, allocations: 7.25 kB / 1.382 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/1.311, allocations: 12.16 kB / 1.382 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.311, allocations: 0 / 1.382 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/1.311, allocations: 0.5956 MB / 1.382 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/1.312, allocations: 124.2 kB / 1.382 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/1.312, allocations: 15.38 kB / 1.382 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/1.312, allocations: 31.72 kB / 1.382 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/1.312, allocations: 27.67 kB / 1.382 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/1.312, allocations: 10.94 kB / 1.383 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002841/1.312, allocations: 288.3 kB / 1.383 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.312, allocations: 0 / 1.383 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000439/1.313, allocations: 137.7 kB / 1.383 GB, free: 4.617 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (damLim.damLimCon.I.y) * Number of discrete variables: 2 ($whenCondition1,damLim.yEnaMinOut) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.001119/1.314, allocations: 1.628 MB / 1.385 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004991/1.314, allocations: 316.7 kB / 1.385 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.314, allocations: 4 kB / 1.385 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/1.315, allocations: 110.8 kB / 1.385 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/1.315, allocations: 129.2 kB / 1.385 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/1.316, allocations: 0.5964 MB / 1.386 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/1.317, allocations: 0.8201 MB / 1.386 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002447/1.317, allocations: 59.23 kB / 1.386 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/1.317, allocations: 142.6 kB / 1.387 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/1.317, allocations: 0 / 1.387 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/1.338, allocations: 8.105 MB / 1.395 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/1.338, allocations: 234.8 kB / 1.395 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/3.423, allocations: 0 / 1.395 GB, free: 9.07 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_VOut_flow_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_VOut_flow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow_res.mat does not exist to compare? outputFormat=mat