Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.69/2.69, allocations: 443.5 MB / 0.7287 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.89 kB / 1.056 GB, free: 2.492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3543, allocations: 160.8 MB / 1.213 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002055/0.3564, allocations: 0.7031 MB / 1.214 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3575, allocations: 0.8428 MB / 1.214 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.3575, allocations: 4 kB / 1.214 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.3575, allocations: 3.938 kB / 1.214 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.161e-05/0.3576, allocations: 7.938 kB / 1.214 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.3577, allocations: 19.97 kB / 1.214 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.492e-05/0.3578, allocations: 39.92 kB / 1.215 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3579, allocations: 11.98 kB / 1.215 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.882e-05/0.358, allocations: 23.91 kB / 1.215 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.812e-05/0.3581, allocations: 23.92 kB / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.3581, allocations: 4 kB / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.3581, allocations: 4 kB / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.3581, allocations: 15.92 kB / 1.215 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.3582, allocations: 19.91 kB / 1.215 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.3583, allocations: 55.97 kB / 1.215 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3583, allocations: 0 / 1.215 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3583, allocations: 0 / 1.215 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.3583, allocations: 0 / 1.215 GB, free: 15.66 MB / 0.9669 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.0005396/0.3588, allocations: 355.3 kB / 1.215 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3589, allocations: 8.031 kB / 1.215 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.891e-05/0.3589, allocations: 42.67 kB / 1.215 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.3589, allocations: 12.88 kB / 1.215 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.3591, allocations: 168.3 kB / 1.215 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3591, allocations: 4.375 kB / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.3591, allocations: 12.12 kB / 1.215 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3593, allocations: 65.64 kB / 1.215 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3593, allocations: 0 / 1.215 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.3593, allocations: 3.938 kB / 1.215 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3593, allocations: 4 kB / 1.215 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.3595, allocations: 47.94 kB / 1.215 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.36, allocations: 292.8 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.3602, allocations: 62.48 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.3603, allocations: 28.91 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.3603, allocations: 0 / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3603, allocations: 38.56 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.3603, allocations: 0 / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004066/0.3607, allocations: 101.6 kB / 1.216 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.3608, allocations: 55.41 kB / 1.216 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.3609, allocations: 105.8 kB / 1.216 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3609, allocations: 29.7 kB / 1.216 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.361, allocations: 92.08 kB / 1.216 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.361, allocations: 11.95 kB / 1.216 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.361, allocations: 17.66 kB / 1.216 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3612, allocations: 326.7 kB / 1.216 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.3613, allocations: 19.98 kB / 1.216 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.325e-05/0.3614, allocations: 27.97 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.3616, allocations: 52.81 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.3616, allocations: 4 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002473/0.3618, allocations: 89.59 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3618, allocations: 4 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3618, allocations: 0 / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3618, allocations: 0 / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.362, allocations: 15.92 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.362, allocations: 0 / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.131e-05/0.362, allocations: 19.92 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.362, allocations: 3.938 kB / 1.217 GB, free: 13.34 MB / 0.9669 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 9.01e-05/0.3621, allocations: 114.2 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.3622, allocations: 0 / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.3622, allocations: 11.89 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3622, allocations: 0 / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3622, allocations: 4 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3622, allocations: 0 / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.3624, allocations: 181.6 kB / 1.217 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3624, allocations: 4 kB / 1.217 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.973e-05/0.3625, allocations: 11.98 kB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3625, allocations: 0 / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3625, allocations: 4 kB / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3625, allocations: 0 / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3625, allocations: 0 / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.3628, allocations: 191.3 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.3629, allocations: 81.09 kB / 1.217 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.3629, allocations: 0 / 1.217 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.363, allocations: 12 kB / 1.217 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.363, allocations: 7.984 kB / 1.217 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.363, allocations: 4 kB / 1.217 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.3631, allocations: 87.2 kB / 1.217 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3631, allocations: 0 / 1.217 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002332/0.3633, allocations: 15.95 kB / 1.217 GB, free: 12.53 MB / 0.9669 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.0006543/0.364, allocations: 0.7086 MB / 1.218 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.3642, allocations: 63.81 kB / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3642, allocations: 4 kB / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.3643, allocations: 31.97 kB / 1.218 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.3647, allocations: 4 kB / 1.218 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.3663, allocations: 1.323 MB / 1.219 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.3666, allocations: 0.6807 MB / 1.22 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.3666, allocations: 11.91 kB / 1.22 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.3667, allocations: 23.42 kB / 1.22 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of SimCode: time 3.3e-07/0.3667, allocations: 3.938 kB / 1.22 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.3914, allocations: 1.854 MB / 1.222 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.453, allocations: 6.703 kB / 1.222 GB, free: 7.809 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.599034140817821]