Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.0009784/0.0009782, allocations: 176.8 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009035/0.0009037, allocations: 94.78 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.168e-05, allocations: 0 / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2771, allocations: 142.4 MB / 1.206 GB, free: 43.76 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9158/1.193, allocations: 151.9 MB / 1.354 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/1.193, allocations: 85.86 kB / 1.355 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04193/1.235, allocations: 18.37 MB / 1.372 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/1.235, allocations: 4 kB / 1.373 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001236/1.235, allocations: 30.58 kB / 1.373 GB, free: 32.37 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.002842/1.238, allocations: 1.3 MB / 1.374 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/1.238, allocations: 7.281 kB / 1.374 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005276/1.239, allocations: 162 kB / 1.374 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/1.241, allocations: 0.8005 MB / 1.375 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.732e-05/1.241, allocations: 42.31 kB / 1.375 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/1.241, allocations: 81.16 kB / 1.375 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0017/1.243, allocations: 0.7684 MB / 1.376 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/1.245, allocations: 0.9952 MB / 1.377 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/1.245, allocations: 0 / 1.377 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.905e-05/1.245, allocations: 0 / 1.377 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/1.245, allocations: 34.75 kB / 1.377 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005701/1.25, allocations: 3.481 MB / 1.38 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/1.252, allocations: 0.7147 MB / 1.381 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/1.252, allocations: 346.6 kB / 1.381 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.985e-05/1.252, allocations: 10.88 kB / 1.381 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006262/1.253, allocations: 435.2 kB / 1.381 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=81): time 4.108e-06/1.253, allocations: 0 / 1.381 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81): time 0.001065/1.254, allocations: 0.5789 MB / 1.382 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.296e-05/1.254, allocations: 352.9 kB / 1.382 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008526/1.255, allocations: 0.572 MB / 1.383 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/1.255, allocations: 25.7 kB / 1.383 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/1.255, allocations: 0.5536 MB / 1.383 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/1.256, allocations: 256.7 kB / 1.384 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/1.256, allocations: 0 / 1.384 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.256, allocations: 337.2 kB / 1.384 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/1.256, allocations: 213.8 kB / 1.384 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/1.256, allocations: 402.5 kB / 1.385 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/1.257, allocations: 250.4 kB / 1.385 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.257, allocations: 0 / 1.385 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001026/1.258, allocations: 0.65 MB / 1.386 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000354/1.258, allocations: 0.7928 MB / 1.386 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.258, allocations: 3.953 kB / 1.386 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/1.258, allocations: 7.656 kB / 1.386 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007601/1.259, allocations: 185.9 kB / 1.386 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/1.259, allocations: 7.953 kB / 1.386 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007112/1.26, allocations: 125 kB / 1.387 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/1.26, allocations: 26.19 kB / 1.387 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/1.26, allocations: 3.969 kB / 1.387 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007146/1.261, allocations: 0.5179 MB / 1.387 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.261, allocations: 0 / 1.387 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/1.261, allocations: 11.66 kB / 1.387 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/1.261, allocations: 154.4 kB / 1.387 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.261, allocations: 15.64 kB / 1.387 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005866/1.262, allocations: 105.1 kB / 1.387 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/1.262, allocations: 25.69 kB / 1.387 GB, free: 25.6 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,damLim2.and2.y,damLim2.and3.y,damLim2.and3.u2,damLim2.and2.u2,damLim1.and2.y,damLim1.and3.y,damLim1.and3.u2,damLim1.and2.u2,damLim.and2.y,damLim.and3.y,damLim.and3.u2,damLim.and2.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * 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.000216/1.262, allocations: 137.4 kB / 1.388 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008391/1.263, allocations: 0.5684 MB / 1.388 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/1.263, allocations: 81.56 kB / 1.388 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/1.264, allocations: 0.6661 MB / 1.389 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/1.264, allocations: 11.61 kB / 1.389 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.264, allocations: 4 kB / 1.389 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/1.264, allocations: 7.859 kB / 1.389 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/1.267, allocations: 2.213 MB / 1.391 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/1.267, allocations: 7.688 kB / 1.391 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006851/1.268, allocations: 174.7 kB / 1.391 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/1.268, allocations: 15.55 kB / 1.391 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.058e-05/1.268, allocations: 15.48 kB / 1.391 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/1.268, allocations: 15.47 kB / 1.391 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.268, allocations: 15.62 kB / 1.391 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/1.269, allocations: 1.694 MB / 1.393 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/1.27, allocations: 185.1 kB / 1.393 GB, free: 22.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/1.27, allocations: 7.594 kB / 1.393 GB, free: 22.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006599/1.27, allocations: 85.08 kB / 1.393 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/1.27, allocations: 83.36 kB / 1.393 GB, free: 22.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.108e-05/1.271, allocations: 34.58 kB / 1.393 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004737/1.271, allocations: 412.9 kB / 1.394 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.271, allocations: 3.875 kB / 1.394 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001161/1.272, allocations: 408.5 kB / 1.394 GB, free: 22.56 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (damLim.damLimCon.I.y,damLim1.damLimCon.I.y,damLim2.damLimCon.I.y) * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition3,damLim.and3.y,damLim.and2.y,damLim1.and3.y,damLim1.and2.y,damLim2.and3.y,damLim2.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 87 * 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.002548/1.275, allocations: 4.054 MB / 1.398 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001336/1.276, allocations: 0.9188 MB / 1.399 GB, free: 19.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.276, allocations: 0 / 1.399 GB, free: 19.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000487/1.277, allocations: 338.6 kB / 1.399 GB, free: 19.13 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/1.278, allocations: 321.4 kB / 1.4 GB, free: 19.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003445/1.281, allocations: 1.642 MB / 1.401 GB, free: 18.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007041/1.282, allocations: 1.119 MB / 1.402 GB, free: 17.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007545/1.283, allocations: 147.6 kB / 1.402 GB, free: 17.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005326/1.283, allocations: 473.6 kB / 1.403 GB, free: 17.13 MB / 0.8386 GB Notification: Performance of SimCode: time 8.11e-07/1.283, allocations: 3.938 kB / 1.403 GB, free: 17.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04668/1.33, allocations: 18.57 MB / 1.421 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/1.331, allocations: 209.2 kB / 1.421 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.797, allocations: 0 / 1.421 GB, free: 3.699 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable_res.mat does not exist to compare? outputFormat=mat