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.241/2.241, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001214/0.001214, allocations: 185 kB / 498.1 MB, free: 5.688 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.515/1.515, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009393/0.0009391, allocations: 97.02 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003742, allocations: 10.94 kB / 1.084 GB, free: 221.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2812, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.4656, allocations: 151.6 MB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.466, allocations: 83.92 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01562/0.4816, allocations: 5.863 MB / 1.377 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.003e-06/0.4817, allocations: 0 / 1.377 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.499e-05/0.4817, allocations: 8 kB / 1.377 GB, free: 4.305 MB / 0.8698 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.001349/0.4831, allocations: 0.6744 MB / 1.378 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.4831, allocations: 15.97 kB / 1.378 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/0.4833, allocations: 82.52 kB / 1.378 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.4834, allocations: 52 kB / 1.378 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006987/0.4841, allocations: 367.1 kB / 1.378 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.4842, allocations: 29 kB / 1.378 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.997e-05/0.4843, allocations: 47.94 kB / 1.378 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008314/0.4851, allocations: 434.2 kB / 1.379 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4851, allocations: 0 / 1.379 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.122e-05/0.4852, allocations: 19.94 kB / 1.379 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.4852, allocations: 8 kB / 1.379 GB, free: 2.488 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007454/0.486, allocations: 347.8 kB / 1.379 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.4881, allocations: 1.293 MB / 1.38 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006712/0.4888, allocations: 300.2 kB / 1.38 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.4889, allocations: 4.062 kB / 1.38 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004464/0.4893, allocations: 218.6 kB / 1.381 GB, free: 264 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/0.4893, allocations: 0 / 1.381 GB, free: 264 kB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.0009094/0.4902, allocations: 382.3 kB / 1.381 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.4904, allocations: 162.2 kB / 1.381 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/0.4908, allocations: 364.8 kB / 1.382 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.4909, allocations: 37.64 kB / 1.382 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.4911, allocations: 216.4 kB / 1.382 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.875e-05/0.4911, allocations: 86.75 kB / 1.382 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.4912, allocations: 4 kB / 1.382 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.4913, allocations: 346.8 kB / 1.382 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.4916, allocations: 111.9 kB / 1.382 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.4919, allocations: 166.8 kB / 1.382 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.4922, allocations: 133 kB / 1.383 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4922, allocations: 0 / 1.383 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006764/0.4929, allocations: 337.1 kB / 1.383 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.4931, allocations: 282.9 kB / 1.383 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4931, allocations: 0 / 1.383 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.4931, allocations: 0 / 1.383 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.4934, allocations: 59.97 kB / 1.383 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.4934, allocations: 11.98 kB / 1.383 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.4937, allocations: 63.5 kB / 1.383 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.4937, allocations: 8 kB / 1.383 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4938, allocations: 5.406 kB / 1.383 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005297/0.4943, allocations: 251.8 kB / 1.384 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.4943, allocations: 3.938 kB / 1.384 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.4943, allocations: 4 kB / 1.384 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.4946, allocations: 55.91 kB / 1.384 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.4946, allocations: 0 / 1.384 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.4948, allocations: 67.59 kB / 1.384 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.4949, allocations: 8 kB / 1.384 GB, free: 13.04 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.0002925/0.4952, allocations: 233.1 kB / 1.384 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.4952, allocations: 43.48 kB / 1.384 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00073/0.496, allocations: 335.6 kB / 1.384 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.496, allocations: 0 / 1.384 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.496, allocations: 4 kB / 1.384 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.496, allocations: 7.984 kB / 1.384 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.4974, allocations: 0.8626 MB / 1.385 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.4974, allocations: 4 kB / 1.385 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.4977, allocations: 59.91 kB / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.4977, allocations: 0 / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.4977, allocations: 12.09 kB / 1.385 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.4977, allocations: 3.984 kB / 1.385 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4978, allocations: 4 kB / 1.385 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009865/0.4987, allocations: 0.5767 MB / 1.386 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.4989, allocations: 128.5 kB / 1.386 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.499, allocations: 7.984 kB / 1.386 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.4992, allocations: 36.05 kB / 1.386 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.4993, allocations: 19.92 kB / 1.386 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.4993, allocations: 12 kB / 1.386 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003319/0.4996, allocations: 287.2 kB / 1.386 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4997, allocations: 0 / 1.386 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004922/0.5002, allocations: 123.7 kB / 1.386 GB, free: 10.17 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.001485/0.5016, allocations: 1.364 MB / 1.388 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009316/0.5026, allocations: 396.7 kB / 1.388 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5026, allocations: 0 / 1.388 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.5029, allocations: 136.2 kB / 1.388 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.5035, allocations: 87.12 kB / 1.388 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004194/0.5077, allocations: 2.516 MB / 1.391 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.5082, allocations: 0.8118 MB / 1.392 GB, free: 4.719 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002292/0.5084, allocations: 47.25 kB / 1.392 GB, free: 4.676 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.5086, allocations: 139.4 kB / 1.392 GB, free: 4.539 MB / 0.8855 GB Notification: Performance of SimCode: time 9.01e-07/0.5087, allocations: 4 kB / 1.392 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.5304, allocations: 7.425 MB / 1.399 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/0.5307, allocations: 243.4 kB / 1.399 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/2.671, allocations: 2.812 kB / 1.399 GB, free: 13.15 MB / 0.9011 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