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.246/2.246, allocations: 390.3 MB / 402.8 MB, free: 6.734 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.001236/0.001236, allocations: 176.8 kB / 496.1 MB, free: 12.89 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.436/1.436, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0008938/0.0008944, allocations: 95.75 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.496e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.287, allocations: 143 MB / 1.219 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8817/1.169, allocations: 152.4 MB / 1.368 GB, free: 1.734 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/1.169, allocations: 80 kB / 1.368 GB, free: 1.688 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01443/1.183, allocations: 5.865 MB / 1.374 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/1.184, allocations: 0.875 kB / 1.374 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.792e-05/1.184, allocations: 8 kB / 1.374 GB, free: 12.69 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009767/1.185, allocations: 0.6241 MB / 1.374 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.185, allocations: 8.031 kB / 1.374 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/1.185, allocations: 76.41 kB / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/1.185, allocations: 55.34 kB / 1.374 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/1.185, allocations: 371.4 kB / 1.375 GB, free: 11.58 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/1.185, allocations: 34.94 kB / 1.375 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/1.186, allocations: 42.16 kB / 1.375 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/1.186, allocations: 394.1 kB / 1.375 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/1.186, allocations: 0 / 1.375 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/1.186, allocations: 18.12 kB / 1.375 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/1.186, allocations: 8 kB / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/1.187, allocations: 275.9 kB / 1.375 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/1.189, allocations: 1.29 MB / 1.377 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/1.189, allocations: 245.7 kB / 1.377 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/1.189, allocations: 111.7 kB / 1.377 GB, free: 9.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/1.189, allocations: 12.38 kB / 1.377 GB, free: 9.809 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/1.19, allocations: 184.6 kB / 1.377 GB, free: 9.648 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 2.505e-06/1.19, allocations: 0 / 1.377 GB, free: 9.648 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0003941/1.19, allocations: 224.5 kB / 1.377 GB, free: 9.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.311e-05/1.19, allocations: 162.2 kB / 1.378 GB, free: 9.285 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/1.19, allocations: 358.4 kB / 1.378 GB, free: 9.008 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/1.191, allocations: 36.81 kB / 1.378 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/1.191, allocations: 225.4 kB / 1.378 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/1.191, allocations: 82.81 kB / 1.378 GB, free: 8.742 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/1.191, allocations: 15.31 kB / 1.378 GB, free: 8.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.191, allocations: 347.4 kB / 1.379 GB, free: 8.398 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/1.191, allocations: 74.31 kB / 1.379 GB, free: 8.355 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/1.191, allocations: 147.1 kB / 1.379 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/1.191, allocations: 90.22 kB / 1.379 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/1.191, allocations: 4 kB / 1.379 GB, free: 8.172 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004048/1.192, allocations: 272.9 kB / 1.379 GB, free: 7.973 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/1.192, allocations: 279 kB / 1.379 GB, free: 7.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/1.192, allocations: 7.938 kB / 1.379 GB, free: 7.676 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.192, allocations: 0 / 1.379 GB, free: 7.676 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/1.192, allocations: 59.47 kB / 1.379 GB, free: 7.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/1.192, allocations: 11.97 kB / 1.379 GB, free: 7.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/1.193, allocations: 59.02 kB / 1.38 GB, free: 7.555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/1.193, allocations: 19.11 kB / 1.38 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/1.193, allocations: 7.953 kB / 1.38 GB, free: 7.531 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003476/1.193, allocations: 197.4 kB / 1.38 GB, free: 7.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/1.193, allocations: 7.984 kB / 1.38 GB, free: 7.402 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-06/1.193, allocations: 0 / 1.38 GB, free: 7.402 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/1.193, allocations: 59.97 kB / 1.38 GB, free: 7.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.193, allocations: 7.984 kB / 1.38 GB, free: 7.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/1.193, allocations: 55.23 kB / 1.38 GB, free: 7.289 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/1.193, allocations: 8 kB / 1.38 GB, free: 7.281 MB / 0.8386 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 () * 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.0001005/1.194, allocations: 115.9 kB / 1.38 GB, free: 7.168 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/1.194, allocations: 51.36 kB / 1.38 GB, free: 7.121 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/1.194, allocations: 263.9 kB / 1.38 GB, free: 6.938 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.194, allocations: 4 kB / 1.38 GB, free: 6.934 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.194, allocations: 3.984 kB / 1.38 GB, free: 6.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.194, allocations: 0 / 1.38 GB, free: 6.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009116/1.195, allocations: 0.8114 MB / 1.381 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.195, allocations: 4.094 kB / 1.381 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/1.195, allocations: 55.91 kB / 1.381 GB, free: 6.191 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.195, allocations: 0 / 1.381 GB, free: 6.191 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/1.195, allocations: 7.062 kB / 1.381 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/1.195, allocations: 0 / 1.381 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.195, allocations: 4 kB / 1.381 GB, free: 6.184 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005693/1.196, allocations: 0.5026 MB / 1.382 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/1.196, allocations: 123.8 kB / 1.382 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/1.196, allocations: 7 kB / 1.382 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/1.196, allocations: 39.09 kB / 1.382 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/1.196, allocations: 22.92 kB / 1.382 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/1.196, allocations: 7.125 kB / 1.382 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002696/1.197, allocations: 284.7 kB / 1.382 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.197, allocations: 3.938 kB / 1.382 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004588/1.197, allocations: 122.6 kB / 1.382 GB, free: 5.238 MB / 0.8386 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 () * 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.0009748/1.198, allocations: 1.26 MB / 1.383 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004969/1.199, allocations: 320.6 kB / 1.384 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/1.199, allocations: 4 kB / 1.384 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/1.199, allocations: 104.8 kB / 1.384 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/1.199, allocations: 78.94 kB / 1.384 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/1.2, allocations: 0.557 MB / 1.384 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/1.201, allocations: 0.8121 MB / 1.385 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002948/1.201, allocations: 69.22 kB / 1.385 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/1.201, allocations: 133 kB / 1.385 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.201, allocations: 0 / 1.385 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/1.222, allocations: 7.788 MB / 1.393 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/1.222, allocations: 224.5 kB / 1.393 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/3.46, allocations: 0 / 1.393 GB, free: 10.49 MB / 0.8542 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