Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",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: 390.3 MB / 405.3 MB, free: 13.48 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.001124/0.001124, allocations: 165.2 kB / 498.1 MB, free: 5.738 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.473/1.473, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009871/0.0009871, allocations: 94.45 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004011, allocations: 10.91 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3369, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.5224, allocations: 149.2 MB / 1.369 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.5227, allocations: 67.97 kB / 1.369 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009465/0.5322, allocations: 3.544 MB / 1.372 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5322, allocations: 3.938 kB / 1.372 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.5322, allocations: 4 kB / 1.372 GB, free: 9.117 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007635/0.533, allocations: 0.4947 MB / 1.373 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.533, allocations: 12.03 kB / 1.373 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.547e-05/0.5331, allocations: 38.55 kB / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.5331, allocations: 19.81 kB / 1.373 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.5333, allocations: 214.7 kB / 1.373 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.5334, allocations: 0 / 1.373 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.5334, allocations: 12 kB / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.5339, allocations: 211.1 kB / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5339, allocations: 0 / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.534, allocations: 4 kB / 1.373 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.534, allocations: 4 kB / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007013/0.5347, allocations: 243.8 kB / 1.373 GB, free: 7.777 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008849/0.5356, allocations: 0.5235 MB / 1.374 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.536, allocations: 170.5 kB / 1.374 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.5361, allocations: 7.875 kB / 1.374 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.5361, allocations: 30.56 kB / 1.374 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.5361, allocations: 0 / 1.374 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.00132/0.5374, allocations: 0.6152 MB / 1.375 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.5375, allocations: 51.41 kB / 1.375 GB, free: 6.262 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.5376, allocations: 135.2 kB / 1.375 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.5376, allocations: 25.7 kB / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.5377, allocations: 116.5 kB / 1.375 GB, free: 5.973 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.236e-05/0.5378, allocations: 51.2 kB / 1.375 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.5378, allocations: 0 / 1.375 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5379, allocations: 326.8 kB / 1.375 GB, free: 5.594 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.5383, allocations: 139.9 kB / 1.376 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.5386, allocations: 139.8 kB / 1.376 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.539, allocations: 139.9 kB / 1.376 GB, free: 5.184 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.539, allocations: 3.953 kB / 1.376 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007874/0.5398, allocations: 329.4 kB / 1.376 GB, free: 4.852 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5398, allocations: 4 kB / 1.376 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.5398, allocations: 3.984 kB / 1.376 GB, free: 4.844 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.5399, allocations: 0 / 1.376 GB, free: 4.844 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.5401, allocations: 51.95 kB / 1.376 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.5401, allocations: 0 / 1.376 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.5403, allocations: 59.8 kB / 1.376 GB, free: 4.734 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.5404, allocations: 0 / 1.376 GB, free: 4.734 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001147/0.5405, allocations: 133.8 kB / 1.376 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.5405, allocations: 15.77 kB / 1.376 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008942/0.5414, allocations: 356.6 kB / 1.377 GB, free: 4.219 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.5414, allocations: 3.938 kB / 1.377 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5414, allocations: 0 / 1.377 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.5415, allocations: 0 / 1.377 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.5417, allocations: 253.3 kB / 1.377 GB, free: 3.918 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.5417, allocations: 4 kB / 1.377 GB, free: 3.914 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.542, allocations: 47.95 kB / 1.377 GB, free: 3.867 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.542, allocations: 7.984 kB / 1.377 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.542, allocations: 4 kB / 1.377 GB, free: 3.855 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.542, allocations: 0 / 1.377 GB, free: 3.855 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.542, allocations: 3.938 kB / 1.377 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008133/0.5428, allocations: 431.1 kB / 1.377 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.5429, allocations: 96.86 kB / 1.378 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.5429, allocations: 0 / 1.378 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.5431, allocations: 43.95 kB / 1.378 GB, free: 3.258 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.5432, allocations: 19.98 kB / 1.378 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.5432, allocations: 0 / 1.378 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.548e-05/0.5433, allocations: 115.1 kB / 1.378 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5433, allocations: 0 / 1.378 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002601/0.5436, allocations: 43.94 kB / 1.378 GB, free: 3.086 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001231/0.5448, allocations: 0.9931 MB / 1.379 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000831/0.5456, allocations: 374.3 kB / 1.379 GB, free: 1.691 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.5457, allocations: 0 / 1.379 GB, free: 1.691 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.5461, allocations: 227.2 kB / 1.379 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.5463, allocations: 19.98 kB / 1.379 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.5484, allocations: 1.157 MB / 1.38 GB, free: 240 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.5487, allocations: 0.7279 MB / 1.381 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.473e-05/0.5488, allocations: 11.98 kB / 1.381 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.5489, allocations: 39.42 kB / 1.381 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of SimCode: time 3.71e-07/0.5489, allocations: 0 / 1.381 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.5628, allocations: 3.046 MB / 1.384 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.563, allocations: 187.8 kB / 1.384 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.182, allocations: 0 / 1.384 GB, free: 12.28 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat does not exist to compare? outputFormat=mat