Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Integers.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add",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: 390.3 MB / 405.3 MB, free: 13.52 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.001089/0.001089, allocations: 179 kB / 498.1 MB, free: 5.746 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.578/1.578, 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.0009002/0.0009002, allocations: 105.9 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003976, allocations: 11.72 kB / 1.084 GB, free: 221.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2612, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.442, allocations: 149.1 MB / 1.369 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.4423, allocations: 71.95 kB / 1.369 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004555/0.4469, allocations: 1.434 MB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.003e-06/0.4469, allocations: 0 / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.4469, allocations: 0 / 1.37 GB, free: 11.38 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005914/0.4475, allocations: 399.1 kB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4476, allocations: 8.031 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.4476, allocations: 46.44 kB / 1.37 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.4477, allocations: 11.89 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.4478, allocations: 175 kB / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.4479, allocations: 8 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.4479, allocations: 8 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.4482, allocations: 109.6 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4482, allocations: 3.938 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.4483, allocations: 0 / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.4483, allocations: 4 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004035/0.4487, allocations: 131.8 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.4492, allocations: 336.6 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/0.4499, allocations: 134.5 kB / 1.371 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.4499, allocations: 0 / 1.371 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.4499, allocations: 30.56 kB / 1.371 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.4499, allocations: 0 / 1.371 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0006962/0.4507, allocations: 225.5 kB / 1.372 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.4507, allocations: 55.34 kB / 1.372 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/0.4508, allocations: 113 kB / 1.372 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.4508, allocations: 29.64 kB / 1.372 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.4509, allocations: 100 kB / 1.372 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.4509, allocations: 15.72 kB / 1.372 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.4509, allocations: 4 kB / 1.372 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4511, allocations: 318.8 kB / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.4513, allocations: 51.95 kB / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.4514, allocations: 63.95 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.4516, allocations: 55.95 kB / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4516, allocations: 0 / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004315/0.4521, allocations: 157.6 kB / 1.373 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4521, allocations: 4 kB / 1.373 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4521, allocations: 0 / 1.373 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.4521, allocations: 3.953 kB / 1.373 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.4523, allocations: 31.91 kB / 1.373 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.4524, allocations: 4 kB / 1.373 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.4525, allocations: 31.81 kB / 1.373 GB, free: 8.539 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.4525, allocations: 0 / 1.373 GB, free: 8.539 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: 3 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.729e-05/0.4526, allocations: 113.8 kB / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.4527, allocations: 4 kB / 1.373 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.4527, allocations: 12.38 kB / 1.373 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4527, allocations: 7.984 kB / 1.373 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4527, allocations: 3.953 kB / 1.373 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4527, allocations: 4 kB / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.4529, allocations: 197.5 kB / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4529, allocations: 0 / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.4532, allocations: 31.97 kB / 1.373 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4532, allocations: 0 / 1.373 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.4532, allocations: 3.984 kB / 1.373 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4532, allocations: 0 / 1.373 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4532, allocations: 0 / 1.373 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.4537, allocations: 271.3 kB / 1.373 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.4538, allocations: 85.02 kB / 1.373 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.4538, allocations: 0 / 1.373 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.454, allocations: 19.98 kB / 1.373 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/0.454, allocations: 19.97 kB / 1.373 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.4541, allocations: 4 kB / 1.373 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.215e-05/0.4541, allocations: 99.22 kB / 1.373 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4541, allocations: 4 kB / 1.373 GB, free: 7.578 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002353/0.4544, allocations: 24.11 kB / 1.373 GB, free: 7.555 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: 3 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007878/0.4552, allocations: 0.7941 MB / 1.374 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004258/0.4556, allocations: 120.6 kB / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4556, allocations: 0 / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.4558, allocations: 79.88 kB / 1.374 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.4561, allocations: 12.88 kB / 1.374 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.4575, allocations: 0.6732 MB / 1.375 GB, free: 5.805 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.4577, allocations: 0.6926 MB / 1.376 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.456e-05/0.4578, allocations: 12.17 kB / 1.376 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.4579, allocations: 23.42 kB / 1.376 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of SimCode: time 3.41e-07/0.4579, allocations: 4 kB / 1.376 GB, free: 5.043 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.4737, allocations: 2.213 MB / 1.378 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/0.474, allocations: 176.3 kB / 1.378 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.018, allocations: 4 kB / 1.378 GB, free: 2.715 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat does not exist to compare? outputFormat=mat