Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.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.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",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.271/2.271, allocations: 393.5 MB / 408.4 MB, free: 10.91 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.001305/0.001305, allocations: 195.8 kB / 0.4902 GB, free: 2.098 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.624/1.624, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009931/0.0009929, allocations: 103 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003685, allocations: 11.19 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3183, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.5188, allocations: 152.4 MB / 1.378 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.5191, allocations: 79.94 kB / 1.378 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01465/0.5338, allocations: 5.867 MB / 1.384 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.444e-06/0.5338, allocations: 0 / 1.384 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.527e-05/0.5339, allocations: 8 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001162/0.5351, allocations: 0.6781 MB / 1.385 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5351, allocations: 8.562 kB / 1.385 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.5353, allocations: 74.53 kB / 1.385 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.5354, allocations: 47.44 kB / 1.385 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005967/0.536, allocations: 383.2 kB / 1.385 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.536, allocations: 29 kB / 1.385 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-05/0.5361, allocations: 40 kB / 1.385 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007574/0.5369, allocations: 438.2 kB / 1.386 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5369, allocations: 0 / 1.386 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.5369, allocations: 16 kB / 1.386 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.5369, allocations: 8 kB / 1.386 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006882/0.5376, allocations: 343.8 kB / 1.386 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.5397, allocations: 1.293 MB / 1.387 GB, free: 7.488 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006546/0.5403, allocations: 303.7 kB / 1.388 GB, free: 7.184 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.5404, allocations: 4 kB / 1.388 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003982/0.5408, allocations: 216.3 kB / 1.388 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 1.834e-06/0.5408, allocations: 0 / 1.388 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.0008289/0.5416, allocations: 390.3 kB / 1.388 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.5417, allocations: 162.2 kB / 1.388 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.5421, allocations: 360.8 kB / 1.389 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.5422, allocations: 37.7 kB / 1.389 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.5423, allocations: 220.3 kB / 1.389 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.465e-05/0.5424, allocations: 90.81 kB / 1.389 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.5424, allocations: 4 kB / 1.389 GB, free: 5.648 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.5425, allocations: 347 kB / 1.389 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.5428, allocations: 111.9 kB / 1.389 GB, free: 5.191 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.5431, allocations: 179.6 kB / 1.39 GB, free: 4.992 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.5434, allocations: 128.4 kB / 1.39 GB, free: 4.867 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5434, allocations: 4 kB / 1.39 GB, free: 4.863 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006378/0.544, allocations: 338.1 kB / 1.39 GB, free: 4.527 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.5442, allocations: 275 kB / 1.39 GB, free: 4.238 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5442, allocations: 4 kB / 1.39 GB, free: 4.234 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.5442, allocations: 0 / 1.39 GB, free: 4.234 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.5445, allocations: 67.89 kB / 1.39 GB, free: 4.168 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.5445, allocations: 4 kB / 1.39 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.5448, allocations: 59.56 kB / 1.39 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.5448, allocations: 12 kB / 1.39 GB, free: 4.094 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.5448, allocations: 4 kB / 1.39 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004702/0.5453, allocations: 243.8 kB / 1.391 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.5453, allocations: 0 / 1.391 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.732e-06/0.5453, allocations: 4 kB / 1.391 GB, free: 3.848 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.5456, allocations: 59.91 kB / 1.391 GB, free: 3.789 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.5456, allocations: 4.062 kB / 1.391 GB, free: 3.785 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.5458, allocations: 51.66 kB / 1.391 GB, free: 3.734 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.5458, allocations: 8 kB / 1.391 GB, free: 3.727 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0002756/0.5461, allocations: 237.1 kB / 1.391 GB, free: 3.484 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.5462, allocations: 43.55 kB / 1.391 GB, free: 3.441 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006892/0.5469, allocations: 332.8 kB / 1.391 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.5469, allocations: 4 kB / 1.391 GB, free: 3.113 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.5469, allocations: 3.938 kB / 1.391 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5469, allocations: 0 / 1.391 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.5483, allocations: 0.8677 MB / 1.392 GB, free: 2.176 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5483, allocations: 7.984 kB / 1.392 GB, free: 2.168 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.5486, allocations: 60 kB / 1.392 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.5486, allocations: 4 kB / 1.392 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.5486, allocations: 4 kB / 1.392 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.5486, allocations: 0 / 1.392 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5486, allocations: 4 kB / 1.392 GB, free: 2.098 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00091/0.5495, allocations: 0.5871 MB / 1.393 GB, free: 1.469 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.884e-05/0.5496, allocations: 124.7 kB / 1.393 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.5497, allocations: 4 kB / 1.393 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.5499, allocations: 36.03 kB / 1.393 GB, free: 1.289 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.55, allocations: 23.92 kB / 1.393 GB, free: 1.266 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.55, allocations: 12 kB / 1.393 GB, free: 1.254 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003164/0.5503, allocations: 287.2 kB / 1.393 GB, free: 0.9727 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5504, allocations: 0 / 1.393 GB, free: 0.9727 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005047/0.5509, allocations: 131.5 kB / 1.394 GB, free: 0.8438 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (mod.uTSup.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.001286/0.5522, allocations: 1.354 MB / 1.395 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008119/0.553, allocations: 391.8 kB / 1.395 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.81e-06/0.553, allocations: 4 kB / 1.395 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.5533, allocations: 136.2 kB / 1.395 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.5538, allocations: 78.16 kB / 1.395 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.5576, allocations: 2.526 MB / 1.398 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.558, allocations: 0.8157 MB / 1.399 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002295/0.5583, allocations: 51.25 kB / 1.399 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.5585, allocations: 139.3 kB / 1.399 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of SimCode: time 6.92e-07/0.5585, allocations: 0 / 1.399 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.5796, allocations: 7.413 MB / 1.406 GB, free: 4.086 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.5798, allocations: 258.2 kB / 1.406 GB, free: 3.766 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/2.681, allocations: 0 / 1.406 GB, free: 3.766 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat does not exist to compare? outputFormat=mat