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.268/2.268, allocations: 390.5 MB / 398 MB, free: 11 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.001155/0.001155, allocations: 176.9 kB / 491.2 MB, free: 1.633 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.374/1.374, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009423/0.0009424, allocations: 99.88 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.748e-05/1.76e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2268, allocations: 143 MB / 1.212 GB, free: 39.35 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7939/1.021, allocations: 151.7 MB / 1.361 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/1.021, allocations: 81.47 kB / 1.361 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01391/1.035, allocations: 5.815 MB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.394e-06/1.035, allocations: 4.688 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.417e-05/1.035, allocations: 11.84 kB / 1.366 GB, free: 32.59 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.0009318/1.036, allocations: 0.6165 MB / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/1.036, allocations: 10.48 kB / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/1.036, allocations: 54.31 kB / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/1.037, allocations: 371.6 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/1.037, allocations: 14.66 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/1.037, allocations: 23.06 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004515/1.037, allocations: 261 kB / 1.368 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005091/1.038, allocations: 343.3 kB / 1.368 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.038, allocations: 0 / 1.368 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/1.038, allocations: 0 / 1.368 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.038, allocations: 11.53 kB / 1.368 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/1.04, allocations: 1.178 MB / 1.369 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/1.04, allocations: 223.5 kB / 1.369 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/1.04, allocations: 110.3 kB / 1.37 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/1.04, allocations: 11.41 kB / 1.37 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/1.04, allocations: 165.2 kB / 1.37 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/1.04, allocations: 0 / 1.37 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0003862/1.041, allocations: 211.4 kB / 1.37 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/1.041, allocations: 158.7 kB / 1.37 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/1.041, allocations: 245.9 kB / 1.37 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/1.041, allocations: 25.7 kB / 1.37 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/1.041, allocations: 237 kB / 1.371 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.995e-05/1.041, allocations: 80.27 kB / 1.371 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/1.041, allocations: 0 / 1.371 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.042, allocations: 345.7 kB / 1.371 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/1.042, allocations: 76.59 kB / 1.371 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/1.042, allocations: 134.1 kB / 1.371 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/1.042, allocations: 81.38 kB / 1.371 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.042, allocations: 0 / 1.371 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000345/1.042, allocations: 247.3 kB / 1.371 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/1.042, allocations: 282.3 kB / 1.372 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.042, allocations: 0 / 1.372 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/1.043, allocations: 4.062 kB / 1.372 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/1.043, allocations: 68.42 kB / 1.372 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/1.043, allocations: 3.844 kB / 1.372 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/1.043, allocations: 42.52 kB / 1.372 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/1.043, allocations: 11.69 kB / 1.372 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/1.043, allocations: 3.906 kB / 1.372 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002902/1.043, allocations: 178 kB / 1.372 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/1.043, allocations: 3.875 kB / 1.372 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.681e-06/1.043, allocations: 3.953 kB / 1.372 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/1.044, allocations: 58.34 kB / 1.372 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/1.044, allocations: 0 / 1.372 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/1.044, allocations: 46.45 kB / 1.372 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/1.044, allocations: 6.109 kB / 1.372 GB, free: 29.89 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.0001092/1.044, allocations: 112.8 kB / 1.372 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000251/1.044, allocations: 205.3 kB / 1.372 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/1.044, allocations: 31.08 kB / 1.372 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/1.045, allocations: 240.8 kB / 1.373 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.045, allocations: 4 kB / 1.373 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.045, allocations: 4.062 kB / 1.373 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.045, allocations: 6.734 kB / 1.373 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000745/1.045, allocations: 0.7191 MB / 1.373 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.045, allocations: 3.875 kB / 1.373 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/1.046, allocations: 58.61 kB / 1.373 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/1.046, allocations: 3.875 kB / 1.373 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/1.046, allocations: 3.875 kB / 1.373 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.046, allocations: 6.547 kB / 1.373 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.046, allocations: 0 / 1.373 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/1.046, allocations: 470.4 kB / 1.374 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/1.046, allocations: 114.8 kB / 1.374 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/1.046, allocations: 6.141 kB / 1.374 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/1.047, allocations: 30.97 kB / 1.374 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/1.047, allocations: 24.75 kB / 1.374 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/1.047, allocations: 7.812 kB / 1.374 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001553/1.047, allocations: 191.5 kB / 1.374 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.047, allocations: 0 / 1.374 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004304/1.047, allocations: 127.9 kB / 1.374 GB, free: 28.86 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.0007601/1.048, allocations: 1.226 MB / 1.376 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004064/1.048, allocations: 302 kB / 1.376 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.048, allocations: 0 / 1.376 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/1.049, allocations: 98.31 kB / 1.376 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/1.049, allocations: 56.3 kB / 1.376 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009616/1.05, allocations: 0.5172 MB / 1.377 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/1.05, allocations: 0.817 MB / 1.377 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002297/1.05, allocations: 46.08 kB / 1.377 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/1.051, allocations: 128.7 kB / 1.378 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.051, allocations: 0 / 1.378 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0926/1.143, allocations: 5.903 MB / 1.383 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/1.144, allocations: 219.6 kB / 1.383 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/3.082, allocations: 4.797 kB / 1.383 GB, free: 26.16 MB / 0.8386 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