Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Obsolete_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.399/2.399, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001539/0.001539, allocations: 183.3 kB / 498.1 MB, free: 5.73 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.618/1.618, allocations: 223.2 MB / 0.7948 GB, free: 17.81 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.001043/0.001043, allocations: 98.73 kB / 0.9346 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005575/0.0005576, allocations: 9.281 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2941, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.4743, allocations: 149.9 MB / 1.369 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004118/0.4748, allocations: 91.88 kB / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005009/0.4798, allocations: 1.5 MB / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4799, allocations: 3.938 kB / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.4799, allocations: 8 kB / 1.371 GB, free: 10.47 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.0006933/0.4806, allocations: 403.5 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4806, allocations: 8.031 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.4807, allocations: 38.55 kB / 1.371 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.4807, allocations: 11.91 kB / 1.371 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.4809, allocations: 182.9 kB / 1.371 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.4809, allocations: 4 kB / 1.371 GB, free: 9.738 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.481, allocations: 8 kB / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.4813, allocations: 109.6 kB / 1.372 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4813, allocations: 4 kB / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.4813, allocations: 0 / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4814, allocations: 0 / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.4818, allocations: 127.8 kB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.4824, allocations: 348.5 kB / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.483, allocations: 134.5 kB / 1.372 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.4831, allocations: 0 / 1.372 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.4831, allocations: 38.56 kB / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.4831, allocations: 4 kB / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0007119/0.4838, allocations: 213.4 kB / 1.372 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.4839, allocations: 51.41 kB / 1.372 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.484, allocations: 120.7 kB / 1.373 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.484, allocations: 25.7 kB / 1.373 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.4841, allocations: 100 kB / 1.373 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.4841, allocations: 15.8 kB / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-06/0.4841, allocations: 7.938 kB / 1.373 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4843, allocations: 314.8 kB / 1.373 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.4845, allocations: 59.95 kB / 1.373 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.4847, allocations: 55.94 kB / 1.373 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.4849, allocations: 60.11 kB / 1.373 GB, free: 7.863 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4849, allocations: 0 / 1.373 GB, free: 7.863 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004283/0.4853, allocations: 157.5 kB / 1.373 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.4853, allocations: 8 kB / 1.373 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.4853, allocations: 0 / 1.373 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.4854, allocations: 3.953 kB / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.4856, allocations: 27.97 kB / 1.373 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.4856, allocations: 4 kB / 1.373 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.4857, allocations: 31.8 kB / 1.373 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.4857, allocations: 7.984 kB / 1.373 GB, free: 7.621 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.838e-05/0.4858, allocations: 113.8 kB / 1.374 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.4859, allocations: 7.906 kB / 1.374 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.4859, allocations: 8.375 kB / 1.374 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.4859, allocations: 7.938 kB / 1.374 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4859, allocations: 3.953 kB / 1.374 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.486, allocations: 4 kB / 1.374 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.4862, allocations: 197.6 kB / 1.374 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4862, allocations: 0 / 1.374 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.4864, allocations: 31.97 kB / 1.374 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4864, allocations: 0 / 1.374 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.4864, allocations: 3.984 kB / 1.374 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.4864, allocations: 0 / 1.374 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4864, allocations: 4 kB / 1.374 GB, free: 7.184 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.4869, allocations: 267.2 kB / 1.374 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.487, allocations: 89.02 kB / 1.374 GB, free: 6.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.487, allocations: 0 / 1.374 GB, free: 6.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.4872, allocations: 15.98 kB / 1.374 GB, free: 6.785 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.481e-05/0.4873, allocations: 27.95 kB / 1.374 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.4873, allocations: 4 kB / 1.374 GB, free: 6.754 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.875e-05/0.4873, allocations: 103.2 kB / 1.374 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4874, allocations: 0 / 1.374 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002449/0.4876, allocations: 24.12 kB / 1.374 GB, free: 6.629 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.000822/0.4884, allocations: 0.794 MB / 1.375 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004471/0.4889, allocations: 136.6 kB / 1.375 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4889, allocations: 0 / 1.375 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.4891, allocations: 75.88 kB / 1.375 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.4894, allocations: 4.688 kB / 1.375 GB, free: 5.598 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.4908, allocations: 0.6755 MB / 1.376 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.4911, allocations: 0.6965 MB / 1.377 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.986e-05/0.4912, allocations: 12.19 kB / 1.377 GB, free: 4.137 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.03e-05/0.4913, allocations: 35.34 kB / 1.377 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of SimCode: time 3.21e-07/0.4913, allocations: 0 / 1.377 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.5061, allocations: 2.278 MB / 1.379 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/0.5064, allocations: 183 kB / 1.379 GB, free: 1.727 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.192, allocations: 4.062 kB / 1.379 GB, free: 1.723 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add_res.mat does not exist to compare? outputFormat=mat