Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.407/2.407, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.00126/0.00126, allocations: 176 kB / 0.4901 GB, free: 2.211 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.704/1.704, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009881/0.0009881, allocations: 101 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.000395, allocations: 6.781 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3028, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.4937, allocations: 150.7 MB / 1.376 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/0.4941, allocations: 91.94 kB / 1.377 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005012/0.4991, allocations: 1.49 MB / 1.378 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4991, allocations: 0 / 1.378 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.4991, allocations: 4 kB / 1.378 GB, free: 1.164 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.0006639/0.4998, allocations: 407.9 kB / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.4999, allocations: 8.562 kB / 1.378 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.238e-05/0.5, allocations: 34.56 kB / 1.378 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.5, allocations: 7.906 kB / 1.378 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.5002, allocations: 186.8 kB / 1.379 GB, free: 448 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.5002, allocations: 8 kB / 1.379 GB, free: 440 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.5002, allocations: 11.98 kB / 1.379 GB, free: 428 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.5006, allocations: 117.5 kB / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5006, allocations: 0 / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.5006, allocations: 0 / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5007, allocations: 0 / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.5011, allocations: 119.9 kB / 1.379 GB, free: 184 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000589/0.5017, allocations: 350.6 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006454/0.5023, allocations: 126.6 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.5024, allocations: 4 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.5024, allocations: 34.56 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.5024, allocations: 0 / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.000723/0.5031, allocations: 225.5 kB / 1.38 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.5032, allocations: 55.41 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.5034, allocations: 115.6 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.5034, allocations: 25.7 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.5035, allocations: 104 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.5036, allocations: 15.72 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.5036, allocations: 4 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.5038, allocations: 318.8 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.504, allocations: 59.95 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.5042, allocations: 51.95 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.5044, allocations: 59.95 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5044, allocations: 0 / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005133/0.5049, allocations: 165.4 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.505, allocations: 9.969 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.505, allocations: 0 / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.505, allocations: 0 / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.5052, allocations: 35.92 kB / 1.381 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.5053, allocations: 7.984 kB / 1.381 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.5054, allocations: 19.98 kB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.5054, allocations: 0 / 1.381 GB, free: 14.31 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.0001091/0.5055, allocations: 117.8 kB / 1.381 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.5056, allocations: 7.906 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.5056, allocations: 12.36 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.5056, allocations: 4 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.5056, allocations: 3.953 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.5057, allocations: 0 / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.5059, allocations: 205.5 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5059, allocations: 0 / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.5061, allocations: 35.91 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.5061, allocations: 0 / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.5061, allocations: 0 / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5061, allocations: 0 / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5062, allocations: 4 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.5067, allocations: 263.3 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.5068, allocations: 84.95 kB / 1.381 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.5068, allocations: 0 / 1.381 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.507, allocations: 23.97 kB / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.03e-05/0.5071, allocations: 23.97 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.5071, allocations: 8 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.077e-05/0.5072, allocations: 91.27 kB / 1.381 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5072, allocations: 0 / 1.381 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002559/0.5074, allocations: 28.08 kB / 1.381 GB, free: 13.32 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.0008788/0.5083, allocations: 0.7912 MB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004731/0.5088, allocations: 132.6 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.5088, allocations: 0 / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.5091, allocations: 75.89 kB / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.5093, allocations: 7.984 kB / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.5108, allocations: 0.6874 MB / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.511, allocations: 0.6965 MB / 1.384 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.858e-05/0.5111, allocations: 12.19 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.035e-05/0.5112, allocations: 31.36 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of SimCode: time 5.51e-07/0.5112, allocations: 0 / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.526, allocations: 2.287 MB / 1.386 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.5263, allocations: 193.8 kB / 1.386 GB, free: 8.414 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.142, allocations: 0 / 1.386 GB, free: 8.414 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add_res.mat does not exist to compare? outputFormat=mat