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.257/2.257, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001044/0.001044, allocations: 176.8 kB / 487.4 MB, free: 5.027 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.566/1.566, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000967/0.000967, allocations: 91.97 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.506e-05/2.508e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2912, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.303, allocations: 148.4 MB / 1.351 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/1.304, allocations: 70.67 kB / 1.351 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005521/1.309, allocations: 1.428 MB / 1.352 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/1.309, allocations: 0 / 1.352 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.224e-05/1.309, allocations: 0 / 1.352 GB, free: 34.07 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.0005149/1.31, allocations: 386 kB / 1.353 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.31, allocations: 11.66 kB / 1.353 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/1.31, allocations: 7.781 kB / 1.353 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/1.31, allocations: 184.3 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/1.31, allocations: 3.938 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/1.31, allocations: 4 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001272/1.31, allocations: 47.69 kB / 1.353 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/1.31, allocations: 74.81 kB / 1.353 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/1.31, allocations: 0 / 1.353 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/1.31, allocations: 4.609 kB / 1.353 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.31, allocations: 0 / 1.353 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/1.311, allocations: 309.9 kB / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/1.311, allocations: 90.91 kB / 1.354 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/1.311, allocations: 31.92 kB / 1.354 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/1.311, allocations: 8.375 kB / 1.354 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/1.311, allocations: 36.75 kB / 1.354 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/1.311, allocations: 4 kB / 1.354 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002139/1.312, allocations: 80.06 kB / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/1.312, allocations: 52.02 kB / 1.354 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.365e-05/1.312, allocations: 118.9 kB / 1.354 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/1.312, allocations: 25.7 kB / 1.354 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/1.312, allocations: 96.64 kB / 1.354 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/1.312, allocations: 24.62 kB / 1.354 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/1.312, allocations: 0 / 1.354 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.312, allocations: 325.1 kB / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.98e-05/1.312, allocations: 19.92 kB / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.345e-05/1.312, allocations: 15.2 kB / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.442e-05/1.312, allocations: 25.25 kB / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.312, allocations: 0 / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001259/1.312, allocations: 85.03 kB / 1.354 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.312, allocations: 9.875 kB / 1.354 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/1.312, allocations: 0 / 1.354 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/1.312, allocations: 0.7031 kB / 1.354 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/1.313, allocations: 31.17 kB / 1.354 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/1.313, allocations: 0 / 1.354 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/1.313, allocations: 28.89 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/1.313, allocations: 0.6094 kB / 1.354 GB, free: 32.43 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 7.778e-05/1.313, allocations: 109.6 kB / 1.355 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001324/1.313, allocations: 78.95 kB / 1.355 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/1.313, allocations: 8.562 kB / 1.355 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/1.313, allocations: 12.34 kB / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/1.313, allocations: 0.8438 kB / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/1.313, allocations: 3.953 kB / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/1.313, allocations: 0 / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/1.313, allocations: 172.1 kB / 1.355 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.313, allocations: 3.938 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/1.313, allocations: 35.09 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.313, allocations: 4 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/1.313, allocations: 1.453 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.313, allocations: 3.938 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.313, allocations: 3.969 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/1.314, allocations: 182.8 kB / 1.355 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/1.314, allocations: 81.81 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/1.314, allocations: 4.594 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/1.314, allocations: 21.11 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/1.314, allocations: 18.56 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/1.314, allocations: 5 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.235e-05/1.314, allocations: 92.19 kB / 1.355 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.314, allocations: 0 / 1.355 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002197/1.314, allocations: 19.5 kB / 1.355 GB, free: 31.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.0005094/1.315, allocations: 0.7253 MB / 1.356 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001312/1.315, allocations: 55.78 kB / 1.356 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.315, allocations: 0 / 1.356 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.221e-05/1.315, allocations: 40.33 kB / 1.356 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/1.315, allocations: 4.609 kB / 1.356 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/1.316, allocations: 148.1 kB / 1.356 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/1.316, allocations: 0.6931 MB / 1.357 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.623e-05/1.316, allocations: 13.66 kB / 1.357 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/1.316, allocations: 27.02 kB / 1.357 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.316, allocations: 0 / 1.357 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/1.339, allocations: 1.883 MB / 1.359 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/1.339, allocations: 136 kB / 1.359 GB, free: 30 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/3.016, allocations: 0 / 1.359 GB, free: 30 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