Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",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.251/2.251, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001478/0.001478, allocations: 201.4 kB / 0.4902 GB, free: 2.227 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.537/1.537, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.001008/0.001008, allocations: 104.8 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003839, allocations: 12.64 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2814, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/0.479, allocations: 149.9 MB / 1.376 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.4793, allocations: 71.95 kB / 1.376 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.004442/0.4838, allocations: 1.452 MB / 1.377 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.865e-06/0.4838, allocations: 0 / 1.377 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.4838, allocations: 4 kB / 1.377 GB, free: 13.71 MB / 0.8855 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.0005701/0.4844, allocations: 395.1 kB / 1.378 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4845, allocations: 8.562 kB / 1.378 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.348e-05/0.4845, allocations: 46.55 kB / 1.378 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.4846, allocations: 7.906 kB / 1.378 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.4847, allocations: 174.9 kB / 1.378 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.4847, allocations: 15.94 kB / 1.378 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.4848, allocations: 4 kB / 1.378 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.4851, allocations: 113.6 kB / 1.378 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4851, allocations: 0 / 1.378 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.4851, allocations: 4 kB / 1.378 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.4851, allocations: 4 kB / 1.378 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.4855, allocations: 115.9 kB / 1.378 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.4861, allocations: 348.6 kB / 1.378 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/0.4868, allocations: 130.6 kB / 1.379 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.4869, allocations: 4 kB / 1.379 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.4869, allocations: 30.56 kB / 1.379 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 3.046e-06/0.4869, allocations: 0 / 1.379 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0007322/0.4876, allocations: 229.5 kB / 1.379 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.4877, allocations: 51.41 kB / 1.379 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4878, allocations: 113 kB / 1.379 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.4879, allocations: 29.7 kB / 1.379 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.4879, allocations: 88.05 kB / 1.379 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.488, allocations: 31.64 kB / 1.379 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.488, allocations: 0 / 1.379 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4881, allocations: 318.8 kB / 1.379 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.4883, allocations: 51.95 kB / 1.379 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.4885, allocations: 59.89 kB / 1.379 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.4887, allocations: 59.95 kB / 1.38 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4887, allocations: 0 / 1.38 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004365/0.4892, allocations: 157.5 kB / 1.38 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.4892, allocations: 8.766 kB / 1.38 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4892, allocations: 0 / 1.38 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.4892, allocations: 7.953 kB / 1.38 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.4894, allocations: 23.97 kB / 1.38 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4894, allocations: 4 kB / 1.38 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.4896, allocations: 23.89 kB / 1.38 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.4896, allocations: 4 kB / 1.38 GB, free: 10.88 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 (intGre.u1,intGre.u2,intGre.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.0001188/0.4897, allocations: 113.8 kB / 1.38 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.4898, allocations: 8 kB / 1.38 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.54e-05/0.4898, allocations: 12.38 kB / 1.38 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4898, allocations: 0 / 1.38 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.4898, allocations: 7.891 kB / 1.38 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4899, allocations: 4 kB / 1.38 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.4901, allocations: 205.5 kB / 1.38 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4901, allocations: 0 / 1.38 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.4903, allocations: 27.97 kB / 1.38 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4903, allocations: 0 / 1.38 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.4904, allocations: 0 / 1.38 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4904, allocations: 0 / 1.38 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4904, allocations: 0 / 1.38 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/0.4909, allocations: 259.4 kB / 1.38 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.491, allocations: 81.02 kB / 1.38 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.491, allocations: 11.98 kB / 1.38 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.4912, allocations: 15.98 kB / 1.38 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.088e-05/0.4913, allocations: 31.89 kB / 1.38 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.4913, allocations: 0 / 1.38 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.875e-05/0.4914, allocations: 111.5 kB / 1.381 GB, free: 9.91 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4914, allocations: 0 / 1.381 GB, free: 9.91 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000238/0.4916, allocations: 16 kB / 1.381 GB, free: 9.895 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 (intGre.u1,intGre.u2,intGre.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.000959/0.4926, allocations: 0.7951 MB / 1.381 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.493, allocations: 128.5 kB / 1.382 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4931, allocations: 0 / 1.382 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.4933, allocations: 75.94 kB / 1.382 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.4936, allocations: 4.688 kB / 1.382 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.495, allocations: 0.6649 MB / 1.382 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.4953, allocations: 0.6965 MB / 1.383 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.708e-05/0.4954, allocations: 8.188 kB / 1.383 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.909e-05/0.4955, allocations: 31.42 kB / 1.383 GB, free: 7.387 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/0.4955, allocations: 0 / 1.383 GB, free: 7.387 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.5093, allocations: 2.234 MB / 1.385 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/0.5096, allocations: 195 kB / 1.385 GB, free: 5.047 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.155, allocations: 0 / 1.385 GB, free: 5.047 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat does not exist to compare? outputFormat=mat