Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.851/1.851, allocations: 289.9 MB / 297.4 MB, free: 6.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 168.9 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008915/0.0008913, allocations: 88.17 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.526e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7165/0.7166, allocations: 116.3 MB / 0.9734 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.9119, allocations: 138 MB / 1.108 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.9121, allocations: 72.67 kB / 1.108 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002663/0.9148, allocations: 0.938 MB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9148, allocations: 0 / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.9148, allocations: 0 / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003664/0.9152, allocations: 348.4 kB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.9153, allocations: 12.02 kB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.9153, allocations: 8.469 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.9154, allocations: 167.5 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.9155, allocations: 7.391 kB / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.9155, allocations: 1.875 kB / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.521e-05/0.9156, allocations: 24 kB / 1.11 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.907e-05/0.9157, allocations: 49.67 kB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.9157, allocations: 3.281 kB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.9157, allocations: 0.5312 kB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.9157, allocations: 3.984 kB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.9161, allocations: 275.4 kB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.03e-05/0.9162, allocations: 43.41 kB / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/0.9162, allocations: 21.39 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.9163, allocations: 0.8125 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.9163, allocations: 31.06 kB / 1.11 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.9163, allocations: 0.5938 kB / 1.11 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001785/0.9165, allocations: 53.83 kB / 1.11 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.9165, allocations: 59.91 kB / 1.11 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.9166, allocations: 98.45 kB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.9166, allocations: 29.7 kB / 1.11 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.9167, allocations: 88.58 kB / 1.11 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.9167, allocations: 3.906 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.9167, allocations: 1.031 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.9168, allocations: 322.8 kB / 1.111 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.9169, allocations: 9.969 kB / 1.111 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.458e-05/0.9169, allocations: 16 kB / 1.111 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.753e-05/0.9169, allocations: 4 kB / 1.111 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.917, allocations: 3.938 kB / 1.111 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001014/0.9171, allocations: 68.2 kB / 1.111 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.9171, allocations: 5.219 kB / 1.111 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.9171, allocations: 0 / 1.111 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.9171, allocations: 0 / 1.111 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.9172, allocations: 16.7 kB / 1.111 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.9173, allocations: 0.75 kB / 1.111 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.9173, allocations: 12.8 kB / 1.111 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.9174, allocations: 8.297 kB / 1.111 GB, free: 9.172 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.468e-05/0.9174, allocations: 112.9 kB / 1.111 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001039/0.9176, allocations: 53.69 kB / 1.111 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.9176, allocations: 6.031 kB / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.9176, allocations: 8.344 kB / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.9176, allocations: 0 / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.9176, allocations: 4 kB / 1.111 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.9176, allocations: 4.734 kB / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.9178, allocations: 150.2 kB / 1.111 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.9178, allocations: 1.125 kB / 1.111 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.632e-05/0.9179, allocations: 11.98 kB / 1.111 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.9179, allocations: 7.594 kB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.918, allocations: 0 / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.918, allocations: 0 / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.918, allocations: 3.562 kB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.9181, allocations: 164.2 kB / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.9182, allocations: 85.05 kB / 1.111 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.9182, allocations: 0 / 1.111 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.9183, allocations: 19.98 kB / 1.111 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.9184, allocations: 7.984 kB / 1.111 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.9184, allocations: 0 / 1.111 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.61e-05/0.9184, allocations: 83.28 kB / 1.112 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9185, allocations: 4 kB / 1.112 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000291/0.9187, allocations: 11.94 kB / 1.112 GB, free: 8.371 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0003832/0.9191, allocations: 0.6968 MB / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.9193, allocations: 27.98 kB / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9193, allocations: 0 / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.789e-05/0.9193, allocations: 16 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.9195, allocations: 11.98 kB / 1.112 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.9199, allocations: 120.1 kB / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.9202, allocations: 0.6807 MB / 1.113 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.806e-05/0.9202, allocations: 4 kB / 1.113 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.9203, allocations: 18.89 kB / 1.113 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.9203, allocations: 0 / 1.113 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.9447, allocations: 1.181 MB / 1.114 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/0.9451, allocations: 157.1 kB / 1.114 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/2.451, allocations: 1.125 kB / 1.114 GB, free: 5.387 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)