Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.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_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_Disable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_Disable",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.00113/0.00113, allocations: 100.1 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.001424/0.001424, allocations: 177.3 kB / 15.95 MB, free: 216 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.442/1.442, allocations: 223.2 MB / 239.9 MB, free: 5.449 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.454/2.454, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005268/0.0005272, allocations: 8 kB / 0.8147 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7704/0.771, allocations: 142.3 MB / 0.9537 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable): time 0.002354/0.7734, allocations: 2.077 MB / 0.9557 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.7752, allocations: 1.509 MB / 0.9572 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.7754, allocations: 14.94 kB / 0.9572 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.296e-05/0.7755, allocations: 55.36 kB / 0.9573 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.7758, allocations: 104.7 kB / 0.9574 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.7761, allocations: 224.5 kB / 0.9576 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004998/0.7766, allocations: 0.558 MB / 0.9581 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004248/0.7771, allocations: 364.7 kB / 0.9585 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.7773, allocations: 229.1 kB / 0.9587 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.7775, allocations: 283.1 kB / 0.9589 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.756e-05/0.7775, allocations: 23.91 kB / 0.959 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.864e-05/0.7776, allocations: 31.69 kB / 0.959 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.423e-05/0.7777, allocations: 116.9 kB / 0.9591 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.177e-05/0.7778, allocations: 152.7 kB / 0.9593 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006225/0.7784, allocations: 1.079 MB / 0.9603 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.7784, allocations: 1 kB / 0.9603 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7784, allocations: 0 / 0.9603 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.7784, allocations: 0 / 0.9603 GB, free: 2.801 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001328/0.7798, allocations: 0.9703 MB / 0.9613 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.7798, allocations: 9.625 kB / 0.9613 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.78, allocations: 130.6 kB / 0.9614 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.7802, allocations: 102.2 kB / 0.9615 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009379/0.7811, allocations: 0.6229 MB / 0.9621 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.015e-05/0.7812, allocations: 60.69 kB / 0.9622 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.755e-05/0.7813, allocations: 83.97 kB / 0.9622 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.7824, allocations: 0.6815 MB / 0.9629 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.7825, allocations: 0 / 0.9629 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.7825, allocations: 44.28 kB / 0.9629 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.7826, allocations: 19.84 kB / 0.963 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.7837, allocations: 0.6159 MB / 0.9636 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/0.7869, allocations: 2.337 MB / 0.9658 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.7874, allocations: 254.1 kB / 0.9661 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.7875, allocations: 4.812 kB / 0.9661 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.7875, allocations: 39.38 kB / 0.9661 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.7875, allocations: 0.9688 kB / 0.9661 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.0009778/0.7885, allocations: 428.4 kB / 0.9665 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.7886, allocations: 59.08 kB / 0.9666 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008479/0.7894, allocations: 0.7129 MB / 0.9673 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.7895, allocations: 31.27 kB / 0.9673 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.7898, allocations: 446.4 kB / 0.9678 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.991e-05/0.7899, allocations: 114.1 kB / 0.9679 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.7899, allocations: 10.09 kB / 0.9679 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.7901, allocations: 390.1 kB / 0.9682 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.7905, allocations: 156.1 kB / 0.9684 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005663/0.7911, allocations: 465 kB / 0.9688 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004881/0.7916, allocations: 235.8 kB / 0.9691 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.7916, allocations: 3.125 kB / 0.9691 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00125/0.7928, allocations: 0.6772 MB / 0.9697 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.7929, allocations: 10.69 kB / 0.9697 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.7929, allocations: 10.66 kB / 0.9697 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.7929, allocations: 19.56 kB / 0.9698 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.7934, allocations: 135.3 kB / 0.9699 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.432e-05/0.7934, allocations: 26.89 kB / 0.9699 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.7939, allocations: 113.9 kB / 0.97 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.794, allocations: 36.23 kB / 0.9701 GB, free: 11.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 29 (damLim1.and3.y,damLim1.not1.u,damLim2.and3.y,damLim2.not1.u,damLim3.and3.y,damLim3.not1.u,operationMode3.y,freProSta3.y,fanStatus3.y,operationMode2.y,freProSta2.y,fanStatus2.y,operationMode1.y,fanStatus1.y,damLim3.conInt1.y,damLim3.conInt.y,damLim2.conInt1.y,damLim2.conInt.y,damLim1.conInt1.y,damLim1.conInt.y,damLim1.intLesEqu.y,damLim1.intEqu1.y,damLim1.not1.y,damLim2.intLesEqu.y,damLim2.intEqu1.y,damLim3.intLesEqu.y,damLim3.intEqu1.y,damLim3.not1.y,damLim2.not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003186/0.7943, allocations: 232.9 kB / 0.9703 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.925e-05/0.7944, allocations: 67.03 kB / 0.9703 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008347/0.7953, allocations: 379.7 kB / 0.9707 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.7953, allocations: 2.719 kB / 0.9707 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.7953, allocations: 3.984 kB / 0.9707 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.7953, allocations: 1.438 kB / 0.9707 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.7971, allocations: 1.264 MB / 0.972 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.7971, allocations: 1.281 kB / 0.972 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.7974, allocations: 66.7 kB / 0.972 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.7974, allocations: 2.781 kB / 0.972 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.7974, allocations: 10.88 kB / 0.972 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.7974, allocations: 6.719 kB / 0.972 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.7974, allocations: 8.891 kB / 0.972 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007685/0.7982, allocations: 0.5083 MB / 0.9725 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.7984, allocations: 158.8 kB / 0.9727 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.7985, allocations: 6.812 kB / 0.9727 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.7987, allocations: 24.94 kB / 0.9727 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.7988, allocations: 30.67 kB / 0.9728 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.7988, allocations: 6.75 kB / 0.9728 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005987/0.7994, allocations: 478.6 kB / 0.9732 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7995, allocations: 0 / 0.9732 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000606/0.8001, allocations: 132.8 kB / 0.9733 GB, free: 9.402 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.00122/0.8013, allocations: 1.332 MB / 0.9746 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009283/0.8022, allocations: 423 kB / 0.975 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.8022, allocations: 0 / 0.975 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.8026, allocations: 142.9 kB / 0.9752 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.8037, allocations: 267.4 kB / 0.9754 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.8141, allocations: 10.55 MB / 0.9857 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005811/0.8148, allocations: 0.9385 MB / 0.9867 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003962/0.8152, allocations: 94.02 kB / 0.9867 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.8155, allocations: 279.3 kB / 0.987 GB, free: 13 MB / 0.7481 GB Notification: Performance of SimCode: time 6.41e-07/0.8155, allocations: 0 / 0.987 GB, free: 13 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.8429, allocations: 12.36 MB / 0.9991 GB, free: 0.9531 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.8432, allocations: 250.9 kB / 0.9993 GB, free: 0.6367 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.866, allocations: 0 / 0.9993 GB, free: 0.6367 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_Disable_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_Disable.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable_res.mat does not exist to compare? outputFormat=mat