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.4/2.4, allocations: 387.1 MB / 399.7 MB, free: 9.418 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.00104/0.00104, allocations: 176.9 kB / 492.3 MB, free: 0.5938 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.497/1.497, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0009302/0.0009302, allocations: 91.89 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.102e-05/9.147e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3616, allocations: 142.3 MB / 1.213 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.437, allocations: 149.1 MB / 1.358 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/1.438, allocations: 72.23 kB / 1.358 GB, free: 19.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005266/1.443, allocations: 1.442 MB / 1.36 GB, free: 34.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.575e-06/1.443, allocations: 0 / 1.36 GB, free: 34.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.278e-05/1.443, allocations: 3.844 kB / 1.36 GB, free: 34.77 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005219/1.443, allocations: 385.3 kB / 1.36 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/1.443, allocations: 10.34 kB / 1.36 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/1.444, allocations: 35.28 kB / 1.36 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/1.444, allocations: 7.719 kB / 1.36 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/1.444, allocations: 187.6 kB / 1.36 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/1.444, allocations: 4 kB / 1.36 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/1.444, allocations: 6.719 kB / 1.36 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/1.444, allocations: 77.77 kB / 1.36 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.444, allocations: 3.844 kB / 1.36 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/1.444, allocations: 0.6094 kB / 1.36 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/1.444, allocations: 0 / 1.36 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/1.444, allocations: 48.8 kB / 1.36 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/1.445, allocations: 346.5 kB / 1.361 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/1.445, allocations: 89.39 kB / 1.361 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/1.445, allocations: 34.3 kB / 1.361 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/1.445, allocations: 6.688 kB / 1.361 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/1.445, allocations: 42.38 kB / 1.361 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/1.445, allocations: 0 / 1.361 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002216/1.445, allocations: 87.42 kB / 1.361 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/1.445, allocations: 54.72 kB / 1.361 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.544e-05/1.446, allocations: 110.6 kB / 1.361 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/1.446, allocations: 25.7 kB / 1.361 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/1.446, allocations: 98.52 kB / 1.361 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/1.446, allocations: 25.78 kB / 1.361 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/1.446, allocations: 3.25 kB / 1.361 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/1.446, allocations: 314.8 kB / 1.361 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-05/1.446, allocations: 28.77 kB / 1.361 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.809e-05/1.446, allocations: 18.81 kB / 1.362 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/1.446, allocations: 21.3 kB / 1.362 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.446, allocations: 0 / 1.362 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001438/1.446, allocations: 90.12 kB / 1.362 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.446, allocations: 3.812 kB / 1.362 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/1.446, allocations: 0 / 1.362 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/1.446, allocations: 2.484 kB / 1.362 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/1.446, allocations: 36.88 kB / 1.362 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/1.446, allocations: 3 kB / 1.362 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/1.447, allocations: 21.28 kB / 1.362 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/1.447, allocations: 7.531 kB / 1.362 GB, free: 33.07 MB / 0.8386 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 () * 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 6.858e-05/1.447, allocations: 106.9 kB / 1.362 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/1.447, allocations: 7.906 kB / 1.362 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/1.447, allocations: 14.92 kB / 1.362 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.447, allocations: 3.906 kB / 1.362 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.447, allocations: 9.438 kB / 1.362 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.447, allocations: 0 / 1.362 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/1.447, allocations: 197.2 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.447, allocations: 5.359 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/1.447, allocations: 30.62 kB / 1.362 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.447, allocations: 0 / 1.362 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/1.447, allocations: 4.453 kB / 1.362 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.447, allocations: 3.875 kB / 1.362 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/1.447, allocations: 0 / 1.362 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/1.447, allocations: 186.2 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/1.447, allocations: 82.61 kB / 1.362 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/1.447, allocations: 3.875 kB / 1.362 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/1.448, allocations: 20.45 kB / 1.362 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/1.448, allocations: 23.31 kB / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/1.448, allocations: 5.625 kB / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.144e-05/1.448, allocations: 96.56 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.448, allocations: 0 / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002099/1.448, allocations: 19.67 kB / 1.362 GB, free: 32.42 MB / 0.8386 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 () * 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.0004379/1.448, allocations: 0.7329 MB / 1.363 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001448/1.448, allocations: 59.67 kB / 1.363 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.449, allocations: 0 / 1.363 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.678e-05/1.449, allocations: 36.48 kB / 1.363 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/1.449, allocations: 11.47 kB / 1.363 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/1.449, allocations: 157 kB / 1.363 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/1.449, allocations: 0.6944 MB / 1.364 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.683e-05/1.45, allocations: 9.609 kB / 1.364 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/1.45, allocations: 30.58 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.45, allocations: 0 / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/1.462, allocations: 2.239 MB / 1.366 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/1.463, allocations: 153.7 kB / 1.366 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/2.972, allocations: 0 / 1.366 GB, free: 30.48 MB / 0.8386 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