Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality",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.57/2.57, 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.001296/0.001296, allocations: 182 kB / 498.1 MB, free: 5.691 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.742/1.742, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.001006/0.001006, allocations: 101 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 7.719 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2976, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/0.4841, allocations: 149.9 MB / 1.369 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.4845, allocations: 75.95 kB / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005154/0.4897, allocations: 1.48 MB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4897, allocations: 0 / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.4897, allocations: 0 / 1.371 GB, free: 10.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005523/0.4903, allocations: 371.1 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.4903, allocations: 16.03 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.249e-05/0.4904, allocations: 34.56 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.4904, allocations: 11.86 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.4906, allocations: 170.9 kB / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.4907, allocations: 4 kB / 1.371 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.4907, allocations: 4 kB / 1.371 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.4909, allocations: 77.53 kB / 1.372 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4909, allocations: 0 / 1.372 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.491, allocations: 4 kB / 1.372 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.491, allocations: 0 / 1.372 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.4912, allocations: 47.97 kB / 1.372 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.4917, allocations: 304.8 kB / 1.372 GB, free: 9.324 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.492, allocations: 70.53 kB / 1.372 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.4921, allocations: 4 kB / 1.372 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.4921, allocations: 34.62 kB / 1.372 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.4921, allocations: 0 / 1.372 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0003897/0.4925, allocations: 113.5 kB / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.4925, allocations: 51.41 kB / 1.372 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.067e-05/0.4926, allocations: 109 kB / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.4927, allocations: 29.7 kB / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.4927, allocations: 84.14 kB / 1.372 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.4927, allocations: 11.8 kB / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.4928, allocations: 4 kB / 1.372 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4929, allocations: 314.8 kB / 1.373 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.155e-05/0.493, allocations: 23.98 kB / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.169e-05/0.4931, allocations: 19.98 kB / 1.373 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.761e-05/0.4932, allocations: 19.98 kB / 1.373 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4932, allocations: 0 / 1.373 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002214/0.4934, allocations: 81.61 kB / 1.373 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4934, allocations: 7.938 kB / 1.373 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.4934, allocations: 0 / 1.373 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4935, allocations: 4 kB / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.4935, allocations: 15.94 kB / 1.373 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4936, allocations: 3.984 kB / 1.373 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.4936, allocations: 15.92 kB / 1.373 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.4936, allocations: 0 / 1.373 GB, free: 8.258 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 (3): * Single equations (assignments): 3 * 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 8.612e-05/0.4937, allocations: 113.8 kB / 1.373 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.4938, allocations: 7.906 kB / 1.373 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.4938, allocations: 3.906 kB / 1.373 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4938, allocations: 0 / 1.373 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4938, allocations: 7.953 kB / 1.373 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4938, allocations: 0 / 1.373 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.494, allocations: 185.7 kB / 1.373 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.494, allocations: 0 / 1.373 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.781e-05/0.4941, allocations: 11.98 kB / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4941, allocations: 0 / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.4941, allocations: 0 / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4941, allocations: 4 kB / 1.373 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4941, allocations: 3.938 kB / 1.373 GB, free: 7.863 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.4944, allocations: 183.3 kB / 1.373 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.4945, allocations: 77.11 kB / 1.373 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.4945, allocations: 4 kB / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.644e-05/0.4946, allocations: 4 kB / 1.373 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.4946, allocations: 3.984 kB / 1.373 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.4947, allocations: 8 kB / 1.373 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.894e-05/0.4947, allocations: 99.64 kB / 1.374 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4947, allocations: 0 / 1.374 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000211/0.4949, allocations: 11.95 kB / 1.374 GB, free: 7.445 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 (3): * Single equations (assignments): 3 * 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.000545/0.4955, allocations: 0.7125 MB / 1.374 GB, free: 6.703 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.4957, allocations: 44 kB / 1.374 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4957, allocations: 0 / 1.374 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.463e-05/0.4958, allocations: 35.92 kB / 1.374 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.4961, allocations: 5.719 kB / 1.374 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009981/0.4971, allocations: 0.5029 MB / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.4974, allocations: 0.6887 MB / 1.375 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.4974, allocations: 4 kB / 1.375 GB, free: 5.355 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.4975, allocations: 23.42 kB / 1.375 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of SimCode: time 5.01e-07/0.4975, allocations: 0 / 1.375 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01261/0.5101, allocations: 1.228 MB / 1.377 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/0.5103, allocations: 187 kB / 1.377 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.027, allocations: 3.938 kB / 1.377 GB, free: 3.984 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat does not exist to compare? outputFormat=mat