Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 212.5 kB / 23.03 MB, free: 4.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.281/3.281, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 73.31 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3913, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.00231/0.3936, allocations: 0.6895 MB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.3948, allocations: 0.8665 MB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/0.3949, allocations: 0 / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.929e-05/0.3949, allocations: 3.938 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.881e-05/0.395, allocations: 11.92 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.3952, allocations: 19.98 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.3953, allocations: 43.84 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3954, allocations: 12 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.968e-05/0.3955, allocations: 19.97 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.136e-05/0.3956, allocations: 27.86 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.3956, allocations: 4 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.526e-05/0.3957, allocations: 8 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.3957, allocations: 11.92 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.3957, allocations: 19.91 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.3959, allocations: 52.03 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3959, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3959, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3959, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 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.0006007/0.3965, allocations: 282.2 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3965, allocations: 8.031 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.428e-05/0.3965, allocations: 192 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.449e-05/0.3966, allocations: 38.75 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.3966, allocations: 0.9375 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3967, allocations: 118.4 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.3968, allocations: 8.375 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.3968, allocations: 3.938 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.397, allocations: 73.58 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.397, allocations: 3.984 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3971, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3971, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.3973, allocations: 55.95 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.3978, allocations: 247.9 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.398, allocations: 70.55 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3981, allocations: 24.84 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.3981, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.3982, allocations: 30.56 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3982, allocations: 4 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004445/0.3986, allocations: 109.6 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/0.3987, allocations: 63.33 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3988, allocations: 105.8 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.3988, allocations: 33.64 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.3989, allocations: 84.14 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.3989, allocations: 15.84 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.399, allocations: 21.64 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.3991, allocations: 318.8 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3992, allocations: 31.97 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.273e-05/0.3993, allocations: 19.98 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.3995, allocations: 48.81 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3995, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002606/0.3998, allocations: 89.58 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3998, allocations: 4 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3998, allocations: 4 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3998, allocations: 4 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.4, allocations: 11.98 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.4001, allocations: 11.92 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.4001, allocations: 0 / 1.33 GB, free: 13.6 MB / 1.029 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 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.4002, allocations: 116.6 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.4002, allocations: 3.953 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.453e-05/0.4002, allocations: 12 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4002, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4003, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4003, allocations: 4.266 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.4005, allocations: 144.8 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4005, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.395e-05/0.4005, allocations: 11.98 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4006, allocations: 0 / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4006, allocations: 3.984 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4006, allocations: 0 / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4006, allocations: 0 / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.4009, allocations: 195.3 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.4009, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.4009, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.401, allocations: 7.984 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.4011, allocations: 11.98 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.4011, allocations: 11.94 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.276e-05/0.4012, allocations: 87.58 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4012, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002311/0.4014, allocations: 8 kB / 1.331 GB, free: 12.91 MB / 1.029 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.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007311/0.4021, allocations: 0.724 MB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003501/0.4025, allocations: 55.88 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4025, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.4026, allocations: 31.97 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.403, allocations: 9.5 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.4048, allocations: 1.327 MB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.487e-05/0.4049, allocations: 67.34 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.372e-05/0.405, allocations: 4 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.405, allocations: 19.42 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.405, allocations: 0 / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.4289, allocations: 2.07 MB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.93, allocations: 14.75 kB / 1.335 GB, free: 8.637 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.68032532208599] Failed to read output from testmodel.py, exit status != 0: 12.090247901971452 12.107784417 11.708454999 Calling exit ...