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.444/2.444, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001232/0.001232, allocations: 176.9 kB / 492.3 MB, free: 0.6367 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.929/1.929, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.001022/0.001022, allocations: 91.88 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.536e-05/3.539e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3031, allocations: 142.4 MB / 1.213 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.362/1.666, allocations: 149.8 MB / 1.359 GB, free: 18.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/1.666, allocations: 89.48 kB / 1.359 GB, free: 18.69 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005392/1.671, allocations: 1.494 MB / 1.36 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.603e-06/1.671, allocations: 3.938 kB / 1.36 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.005e-05/1.671, allocations: 0 / 1.36 GB, free: 34.32 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.0005613/1.672, allocations: 395.4 kB / 1.361 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/1.672, allocations: 7.562 kB / 1.361 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.735e-05/1.672, allocations: 42.14 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/1.672, allocations: 8.844 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/1.672, allocations: 176.1 kB / 1.361 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/1.672, allocations: 6.906 kB / 1.361 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/1.672, allocations: 7.844 kB / 1.361 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/1.673, allocations: 84.48 kB / 1.361 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.673, allocations: 1.547 kB / 1.361 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/1.673, allocations: 7.25 kB / 1.361 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/1.673, allocations: 0 / 1.361 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/1.673, allocations: 43.22 kB / 1.361 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/1.673, allocations: 350.6 kB / 1.361 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/1.674, allocations: 96.02 kB / 1.362 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/1.674, allocations: 34.09 kB / 1.362 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/1.674, allocations: 0 / 1.362 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/1.674, allocations: 34.44 kB / 1.362 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 3.367e-06/1.674, allocations: 4 kB / 1.362 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.000252/1.674, allocations: 100.1 kB / 1.362 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/1.674, allocations: 55.28 kB / 1.362 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/1.674, allocations: 111.9 kB / 1.362 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/1.674, allocations: 29.45 kB / 1.362 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/1.674, allocations: 90.33 kB / 1.362 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/1.674, allocations: 24.27 kB / 1.362 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/1.674, allocations: 3.938 kB / 1.362 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.675, allocations: 320.7 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.757e-05/1.675, allocations: 26.41 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.952e-05/1.675, allocations: 20.27 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.241e-05/1.675, allocations: 20.8 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.675, allocations: 0 / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001478/1.675, allocations: 92.81 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.675, allocations: 7.906 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/1.675, allocations: 1.734 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/1.675, allocations: 0 / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/1.675, allocations: 37.69 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.675, allocations: 1.312 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/1.675, allocations: 15.47 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/1.675, allocations: 9.016 kB / 1.363 GB, free: 32.61 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 8.144e-05/1.675, allocations: 102.2 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/1.675, allocations: 13.33 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/1.675, allocations: 15.34 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.675, allocations: 5.578 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/1.675, allocations: 3.953 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.675, allocations: 0 / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/1.676, allocations: 197.3 kB / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.676, allocations: 0 / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/1.676, allocations: 32.36 kB / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.676, allocations: 4 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/1.676, allocations: 5.344 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.676, allocations: 0 / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.676, allocations: 1.734 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/1.676, allocations: 197 kB / 1.363 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/1.676, allocations: 81.02 kB / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/1.676, allocations: 5.344 kB / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/1.676, allocations: 20.78 kB / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/1.676, allocations: 21.53 kB / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/1.676, allocations: 5.516 kB / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.701e-05/1.676, allocations: 97.98 kB / 1.363 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.676, allocations: 0 / 1.363 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002092/1.677, allocations: 19.45 kB / 1.363 GB, free: 31.97 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.000509/1.677, allocations: 0.7359 MB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001509/1.677, allocations: 54.8 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.677, allocations: 0 / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.101e-05/1.677, allocations: 39.58 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/1.678, allocations: 14.34 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/1.678, allocations: 160.1 kB / 1.364 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/1.679, allocations: 0.6942 MB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.884e-05/1.679, allocations: 13.06 kB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.804e-05/1.679, allocations: 27.83 kB / 1.365 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of SimCode: time 4e-07/1.679, allocations: 0 / 1.365 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/1.695, allocations: 2.296 MB / 1.367 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/1.695, allocations: 171.2 kB / 1.367 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/3.486, allocations: 1.969 kB / 1.367 GB, free: 30.01 MB / 0.8386 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