Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.439/2.439, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001181/0.001181, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.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: 221.3 MB / 0.7915 GB, free: 5.406 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.0009979/0.0009979, allocations: 87.95 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.234e-05/4.243e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3278, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.366, allocations: 149.9 MB / 1.365 GB, free: 4.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/1.366, allocations: 77.06 kB / 1.365 GB, free: 4.117 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004709/1.371, allocations: 1.43 MB / 1.367 GB, free: 2.855 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.084e-06/1.371, allocations: 4 kB / 1.367 GB, free: 2.852 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.441e-05/1.371, allocations: 0 / 1.367 GB, free: 2.852 MB / 0.823 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.0005514/1.371, allocations: 386.2 kB / 1.367 GB, free: 2.434 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.371, allocations: 8.031 kB / 1.367 GB, free: 2.426 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/1.371, allocations: 34 kB / 1.367 GB, free: 2.387 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/1.371, allocations: 11.91 kB / 1.367 GB, free: 2.375 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/1.372, allocations: 182.4 kB / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/1.372, allocations: 0 / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/1.372, allocations: 11.67 kB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/1.372, allocations: 79.59 kB / 1.367 GB, free: 2.082 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.372, allocations: 0 / 1.367 GB, free: 2.082 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/1.372, allocations: 3.188 kB / 1.367 GB, free: 2.082 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/1.372, allocations: 4 kB / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/1.372, allocations: 43.56 kB / 1.367 GB, free: 2.051 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/1.373, allocations: 346 kB / 1.368 GB, free: 1.699 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/1.373, allocations: 88.23 kB / 1.368 GB, free: 1.625 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.275e-05/1.373, allocations: 39.97 kB / 1.368 GB, free: 1.594 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/1.373, allocations: 8.141 kB / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/1.373, allocations: 30.56 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 3.056e-06/1.373, allocations: 0 / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002627/1.373, allocations: 99.78 kB / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/1.373, allocations: 55.41 kB / 1.368 GB, free: 1.395 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/1.374, allocations: 114.6 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/1.374, allocations: 29.64 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/1.374, allocations: 99.3 kB / 1.368 GB, free: 1.156 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/1.374, allocations: 15.75 kB / 1.368 GB, free: 1.141 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-06/1.374, allocations: 0 / 1.368 GB, free: 1.141 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.374, allocations: 318.6 kB / 1.369 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.781e-05/1.374, allocations: 19.19 kB / 1.369 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.738e-05/1.374, allocations: 31.88 kB / 1.369 GB, free: 0.793 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.667e-05/1.374, allocations: 13.73 kB / 1.369 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.374, allocations: 0 / 1.369 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001741/1.374, allocations: 101.2 kB / 1.369 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.374, allocations: 5.406 kB / 1.369 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/1.374, allocations: 4 kB / 1.369 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.374, allocations: 3.953 kB / 1.369 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/1.375, allocations: 31.97 kB / 1.369 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.375, allocations: 0 / 1.369 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/1.375, allocations: 20.86 kB / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/1.375, allocations: 7.984 kB / 1.369 GB, free: 0.6289 MB / 0.823 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 7.874e-05/1.375, allocations: 112.3 kB / 1.369 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/1.375, allocations: 7.906 kB / 1.369 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/1.375, allocations: 11.67 kB / 1.369 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/1.375, allocations: 3.953 kB / 1.369 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.375, allocations: 0 / 1.369 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/1.375, allocations: 0 / 1.369 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/1.375, allocations: 203 kB / 1.369 GB, free: 268 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.375, allocations: 0 / 1.369 GB, free: 268 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/1.375, allocations: 35.91 kB / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/1.375, allocations: 0 / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/1.375, allocations: 4 kB / 1.369 GB, free: 228 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.375, allocations: 0 / 1.369 GB, free: 228 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.375, allocations: 3.953 kB / 1.369 GB, free: 224 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/1.376, allocations: 185.6 kB / 1.369 GB, free: 44 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/1.376, allocations: 89 kB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/1.376, allocations: 4.5 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/1.376, allocations: 11.98 kB / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/1.376, allocations: 22.72 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/1.376, allocations: 11.95 kB / 1.37 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.675e-05/1.376, allocations: 94.52 kB / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.376, allocations: 0 / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002276/1.376, allocations: 20.12 kB / 1.37 GB, free: 15.79 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.0005424/1.377, allocations: 0.7254 MB / 1.37 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001618/1.377, allocations: 65.42 kB / 1.37 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.377, allocations: 0 / 1.37 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.515e-05/1.377, allocations: 42.55 kB / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/1.377, allocations: 11.81 kB / 1.37 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/1.378, allocations: 152.5 kB / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/1.378, allocations: 0.6965 MB / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.548e-05/1.378, allocations: 8.188 kB / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/1.378, allocations: 26.23 kB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/1.378, allocations: 0 / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/1.393, allocations: 2.249 MB / 1.373 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/1.394, allocations: 151 kB / 1.374 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/2.906, allocations: 0 / 1.374 GB, free: 11.72 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat does not exist to compare? outputFormat=mat