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.Modulation_TSup.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.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_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 9.1.1-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 387.1 MB / 399.7 MB, free: 9.527 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.001086/0.001087, allocations: 168.9 kB / 492.3 MB, free: 0.6445 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.613/1.613, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001146/0.001145, allocations: 85.95 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.623e-05/3.625e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3412, allocations: 142.4 MB / 1.213 GB, free: 38.32 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.354, allocations: 151.5 MB / 1.361 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/1.355, allocations: 83.44 kB / 1.361 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01368/1.368, allocations: 5.832 MB / 1.366 GB, free: 34.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.814e-06/1.368, allocations: 0 / 1.366 GB, free: 34.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.642e-05/1.368, allocations: 11.53 kB / 1.366 GB, free: 34.34 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.0008159/1.369, allocations: 0.6165 MB / 1.367 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/1.369, allocations: 11.53 kB / 1.367 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.54e-05/1.369, allocations: 80.11 kB / 1.367 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.385e-05/1.369, allocations: 50.44 kB / 1.367 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/1.37, allocations: 378 kB / 1.367 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/1.37, allocations: 29.75 kB / 1.367 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/1.37, allocations: 41.72 kB / 1.368 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005959/1.371, allocations: 394.5 kB / 1.368 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.371, allocations: 4 kB / 1.368 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/1.371, allocations: 24.27 kB / 1.368 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/1.371, allocations: 11.53 kB / 1.368 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/1.371, allocations: 274.8 kB / 1.368 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/1.373, allocations: 1.287 MB / 1.369 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/1.373, allocations: 239.6 kB / 1.37 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/1.373, allocations: 121.6 kB / 1.37 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/1.373, allocations: 3.906 kB / 1.37 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002351/1.374, allocations: 175 kB / 1.37 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/1.374, allocations: 0 / 1.37 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0003638/1.374, allocations: 230.7 kB / 1.37 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/1.374, allocations: 162 kB / 1.37 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/1.374, allocations: 365.1 kB / 1.371 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/1.375, allocations: 32.95 kB / 1.371 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/1.375, allocations: 224.3 kB / 1.371 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/1.375, allocations: 74.52 kB / 1.371 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/1.375, allocations: 9.281 kB / 1.371 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.375, allocations: 349.3 kB / 1.371 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/1.375, allocations: 75.03 kB / 1.371 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/1.375, allocations: 140.5 kB / 1.372 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/1.375, allocations: 99.11 kB / 1.372 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.375, allocations: 0 / 1.372 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003436/1.376, allocations: 275.8 kB / 1.372 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.832e-05/1.376, allocations: 271.7 kB / 1.372 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.376, allocations: 0 / 1.372 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.376, allocations: 10.8 kB / 1.372 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/1.376, allocations: 70.14 kB / 1.372 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.376, allocations: 0 / 1.372 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/1.376, allocations: 62.08 kB / 1.372 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/1.376, allocations: 7.281 kB / 1.372 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.572e-06/1.376, allocations: 3.875 kB / 1.372 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002791/1.377, allocations: 207.6 kB / 1.373 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/1.377, allocations: 8.016 kB / 1.373 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/1.377, allocations: 3.812 kB / 1.373 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/1.377, allocations: 55.75 kB / 1.373 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/1.377, allocations: 6.375 kB / 1.373 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/1.377, allocations: 59.67 kB / 1.373 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/1.377, allocations: 10.78 kB / 1.373 GB, free: 31.53 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 9.221e-05/1.377, allocations: 119.5 kB / 1.373 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/1.377, allocations: 38.62 kB / 1.373 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/1.378, allocations: 271.6 kB / 1.373 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.378, allocations: 3.844 kB / 1.373 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.378, allocations: 0 / 1.373 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.378, allocations: 6.797 kB / 1.373 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008475/1.379, allocations: 0.8081 MB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/1.379, allocations: 0 / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/1.379, allocations: 61.7 kB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.379, allocations: 0 / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/1.379, allocations: 11.84 kB / 1.374 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.379, allocations: 2.719 kB / 1.374 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.379, allocations: 3.844 kB / 1.374 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/1.379, allocations: 0.4932 MB / 1.374 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/1.379, allocations: 122.2 kB / 1.375 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/1.38, allocations: 7.5 kB / 1.375 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/1.38, allocations: 29.62 kB / 1.375 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/1.38, allocations: 29.12 kB / 1.375 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/1.38, allocations: 6.688 kB / 1.375 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002662/1.38, allocations: 286.3 kB / 1.375 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.8e-07/1.38, allocations: 0 / 1.375 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004008/1.381, allocations: 130.2 kB / 1.375 GB, free: 30.52 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.0008428/1.381, allocations: 1.255 MB / 1.376 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004629/1.382, allocations: 329.7 kB / 1.377 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/1.382, allocations: 4.062 kB / 1.377 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/1.382, allocations: 105.3 kB / 1.377 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/1.382, allocations: 83 kB / 1.377 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/1.384, allocations: 0.551 MB / 1.377 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/1.384, allocations: 0.8166 MB / 1.378 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002623/1.384, allocations: 66 kB / 1.378 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/1.384, allocations: 134.3 kB / 1.378 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/1.384, allocations: 0 / 1.378 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/1.404, allocations: 7.764 MB / 1.386 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/1.404, allocations: 220.7 kB / 1.386 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/3.505, allocations: 0 / 1.386 GB, free: 26.73 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.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.Modulation_TSup_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.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.Modulation_TSup_res.mat does not exist to compare? outputFormat=mat