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.552/2.552, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.00207/0.00207, allocations: 188 kB / 0.4901 GB, free: 2.215 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.532/1.532, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001014/0.001014, allocations: 99.31 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003587, allocations: 10.44 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2968, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.496, allocations: 149.9 MB / 1.376 GB, free: 3.543 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.4963, allocations: 71.95 kB / 1.376 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006003/0.5023, allocations: 1.435 MB / 1.377 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.537e-06/0.5024, allocations: 0 / 1.377 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.5024, allocations: 4 kB / 1.377 GB, free: 2.031 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.0009772/0.5034, allocations: 399.1 kB / 1.378 GB, free: 1.594 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.992e-05/0.5035, allocations: 8.562 kB / 1.378 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.44e-05/0.5036, allocations: 30.56 kB / 1.378 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.5036, allocations: 7.906 kB / 1.378 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.5039, allocations: 186.9 kB / 1.378 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.5039, allocations: 8 kB / 1.378 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.504, allocations: 8 kB / 1.378 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005579/0.5046, allocations: 113.5 kB / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.5046, allocations: 0 / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.5046, allocations: 0 / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.5046, allocations: 4 kB / 1.378 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007474/0.5054, allocations: 127.9 kB / 1.378 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008827/0.5063, allocations: 340.6 kB / 1.378 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.5074, allocations: 130.6 kB / 1.378 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.5075, allocations: 0 / 1.378 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.5075, allocations: 34.56 kB / 1.378 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.5075, allocations: 0 / 1.378 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.00106/0.5086, allocations: 229.5 kB / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.5087, allocations: 55.39 kB / 1.379 GB, free: 200 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.5088, allocations: 114.6 kB / 1.379 GB, free: 80 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.5089, allocations: 25.7 kB / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.667e-05/0.509, allocations: 104 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.509, allocations: 15.75 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/0.509, allocations: 8 kB / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5092, allocations: 314.8 kB / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.5095, allocations: 55.95 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.5098, allocations: 59.95 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.5101, allocations: 55.91 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5101, allocations: 4 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006854/0.5108, allocations: 161.4 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.5109, allocations: 4 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5109, allocations: 0 / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.5109, allocations: 7.953 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.5112, allocations: 27.97 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5112, allocations: 0 / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.5114, allocations: 23.97 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.5115, allocations: 4 kB / 1.38 GB, free: 15.2 MB / 0.8855 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 0.0001181/0.5116, allocations: 113.8 kB / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.5117, allocations: 3.906 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.5117, allocations: 16.38 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5117, allocations: 0 / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.5117, allocations: 3.953 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.5118, allocations: 3.984 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.5121, allocations: 201.6 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5121, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.5124, allocations: 31.91 kB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.5124, allocations: 0 / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.5124, allocations: 7.922 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5124, allocations: 4 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5124, allocations: 0 / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007266/0.5132, allocations: 259.3 kB / 1.38 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/0.5133, allocations: 88.95 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.5133, allocations: 0 / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.5136, allocations: 15.98 kB / 1.38 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.5137, allocations: 27.95 kB / 1.38 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.5137, allocations: 4 kB / 1.38 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.657e-05/0.5138, allocations: 99.22 kB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.274e-06/0.5138, allocations: 4 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004351/0.5142, allocations: 19.94 kB / 1.381 GB, free: 14.21 MB / 0.8855 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.001137/0.5154, allocations: 0.7951 MB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006511/0.5161, allocations: 124.5 kB / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5161, allocations: 0 / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.5164, allocations: 75.94 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.5168, allocations: 10.16 kB / 1.382 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.5188, allocations: 0.6694 MB / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.5192, allocations: 0.6965 MB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.5193, allocations: 12.19 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.5194, allocations: 27.41 kB / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of SimCode: time 4.51e-07/0.5195, allocations: 0 / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.5377, allocations: 2.218 MB / 1.385 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/0.5381, allocations: 190.6 kB / 1.385 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.089, allocations: 0 / 1.385 GB, free: 9.375 MB / 0.8855 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