Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.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.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001029/0.001029, allocations: 184 kB / 492.3 MB, free: 0.6328 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.414/1.414, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.0009282/0.0009282, allocations: 87.2 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.412e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.221, allocations: 142.3 MB / 1.213 GB, free: 38.33 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7758/0.9968, allocations: 151.6 MB / 1.361 GB, free: 19.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.997, allocations: 80.72 kB / 1.361 GB, free: 19.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01339/1.01, allocations: 5.857 MB / 1.366 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.904e-06/1.01, allocations: 4 kB / 1.366 GB, free: 34.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.729e-05/1.011, allocations: 9.484 kB / 1.366 GB, free: 34.46 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.000915/1.011, allocations: 0.6145 MB / 1.367 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.012, allocations: 11.5 kB / 1.367 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/1.012, allocations: 78.14 kB / 1.367 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/1.012, allocations: 54.31 kB / 1.367 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/1.012, allocations: 375.9 kB / 1.368 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/1.012, allocations: 35.39 kB / 1.368 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-05/1.012, allocations: 40.16 kB / 1.368 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005795/1.013, allocations: 399.3 kB / 1.368 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.013, allocations: 3.875 kB / 1.368 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/1.013, allocations: 14.84 kB / 1.368 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/1.013, allocations: 10.53 kB / 1.368 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/1.013, allocations: 277.7 kB / 1.368 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/1.015, allocations: 1.292 MB / 1.37 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/1.016, allocations: 246 kB / 1.37 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/1.016, allocations: 113.2 kB / 1.37 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/1.016, allocations: 7.141 kB / 1.37 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/1.016, allocations: 174.9 kB / 1.37 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/1.016, allocations: 0 / 1.37 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0003374/1.016, allocations: 238.2 kB / 1.37 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/1.016, allocations: 157.9 kB / 1.37 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/1.017, allocations: 360.9 kB / 1.371 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/1.017, allocations: 32.83 kB / 1.371 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/1.017, allocations: 222.8 kB / 1.371 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/1.017, allocations: 82.22 kB / 1.371 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/1.017, allocations: 6.062 kB / 1.371 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.017, allocations: 353.2 kB / 1.371 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/1.017, allocations: 80.66 kB / 1.371 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/1.017, allocations: 140.2 kB / 1.372 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/1.017, allocations: 100.5 kB / 1.372 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/1.017, allocations: 0 / 1.372 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003335/1.018, allocations: 270.8 kB / 1.372 GB, free: 32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.731e-05/1.018, allocations: 277.3 kB / 1.372 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/1.018, allocations: 3.938 kB / 1.372 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/1.018, allocations: 3.938 kB / 1.372 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/1.018, allocations: 64.17 kB / 1.372 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.018, allocations: 3.812 kB / 1.372 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/1.018, allocations: 62.34 kB / 1.372 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/1.018, allocations: 11 kB / 1.372 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/1.018, allocations: 5 kB / 1.372 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000273/1.019, allocations: 204.8 kB / 1.373 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/1.019, allocations: 3.953 kB / 1.373 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-06/1.019, allocations: 3.875 kB / 1.373 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/1.019, allocations: 56.11 kB / 1.373 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/1.019, allocations: 6.75 kB / 1.373 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/1.019, allocations: 56.48 kB / 1.373 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/1.019, allocations: 11.5 kB / 1.373 GB, free: 31.65 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 7.324e-05/1.019, allocations: 115.2 kB / 1.373 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/1.019, allocations: 42.25 kB / 1.373 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/1.02, allocations: 270.9 kB / 1.373 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.02, allocations: 3.844 kB / 1.373 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/1.02, allocations: 0 / 1.373 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.02, allocations: 2.719 kB / 1.373 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000862/1.021, allocations: 0.8028 MB / 1.374 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1.021, allocations: 7.906 kB / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/1.021, allocations: 58.08 kB / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.021, allocations: 64 / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/1.021, allocations: 11.09 kB / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.021, allocations: 3.969 kB / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.021, allocations: 2.766 kB / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/1.021, allocations: 0.4988 MB / 1.374 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/1.021, allocations: 123.5 kB / 1.375 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/1.021, allocations: 3.312 kB / 1.375 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/1.022, allocations: 36.56 kB / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/1.022, allocations: 21.23 kB / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/1.022, allocations: 17.83 kB / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002341/1.022, allocations: 282.7 kB / 1.375 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.022, allocations: 0 / 1.375 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003812/1.022, allocations: 124.8 kB / 1.375 GB, free: 30.64 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.0007094/1.023, allocations: 1.271 MB / 1.376 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004251/1.023, allocations: 322.5 kB / 1.377 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/1.024, allocations: 3.875 kB / 1.377 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/1.024, allocations: 108 kB / 1.377 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/1.024, allocations: 75.72 kB / 1.377 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009506/1.025, allocations: 0.5623 MB / 1.377 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/1.025, allocations: 0.8152 MB / 1.378 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002553/1.026, allocations: 66.39 kB / 1.378 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/1.026, allocations: 133.6 kB / 1.378 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/1.026, allocations: 0 / 1.378 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/1.046, allocations: 7.789 MB / 1.386 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/1.046, allocations: 225.2 kB / 1.386 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/3.147, allocations: 4 kB / 1.386 GB, free: 26.78 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_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_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.fmu > Buildings_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat does not exist to compare? outputFormat=mat