Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.0009772/0.0009772, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000824/0.000824, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9086/0.9086, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.679/1.679, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.GreaterEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.98e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001434/0.001454, allocations: 0.6967 MB / 0.9512 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008798/0.002334, allocations: 0.8548 MB / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.002371, allocations: 4 kB / 0.952 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.002398, allocations: 11.92 kB / 0.952 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.806e-05/0.002466, allocations: 3.938 kB / 0.952 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.002601, allocations: 19.92 kB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.482e-05/0.002676, allocations: 55.77 kB / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.956e-05/0.002775, allocations: 8 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.304e-05/0.002848, allocations: 27.97 kB / 0.9522 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.0029, allocations: 23.91 kB / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.002923, allocations: 4 kB / 0.9522 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-06/0.002931, allocations: 4 kB / 0.9522 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.002948, allocations: 7.984 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.002969, allocations: 15.94 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.974e-05/0.003059, allocations: 51.84 kB / 0.9523 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003061, allocations: 0 / 0.9523 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003062, allocations: 0 / 0.9523 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.003065, allocations: 0 / 0.9523 GB, free: 1.668 MB / 0.9011 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.0003894/0.003454, allocations: 282.2 kB / 0.9525 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.003491, allocations: 8.031 kB / 0.9525 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.00352, allocations: 30.75 kB / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.003544, allocations: 20.81 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.45e-05/0.003628, allocations: 105.8 kB / 0.9527 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.003641, allocations: 4.375 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.003651, allocations: 8.312 kB / 0.9527 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.003782, allocations: 69.95 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.003789, allocations: 4 kB / 0.9528 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.003798, allocations: 7.938 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.003802, allocations: 0 / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.003918, allocations: 47.95 kB / 0.9528 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.004227, allocations: 255.8 kB / 0.9531 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.004352, allocations: 70.47 kB / 0.9531 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/0.004408, allocations: 24.92 kB / 0.9532 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.004424, allocations: 4 kB / 0.9532 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.004443, allocations: 34.56 kB / 0.9532 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.004444, allocations: 0 / 0.9532 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0002579/0.004702, allocations: 109.5 kB / 0.9533 GB, free: 476 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.004731, allocations: 55.41 kB / 0.9533 GB, free: 408 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.462e-05/0.004796, allocations: 109.8 kB / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.004807, allocations: 29.7 kB / 0.9535 GB, free: 252 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.004851, allocations: 84.09 kB / 0.9536 GB, free: 164 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.004872, allocations: 7.953 kB / 0.9536 GB, free: 156 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.004905, allocations: 25.7 kB / 0.9536 GB, free: 124 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.004996, allocations: 314.8 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.926e-05/0.005055, allocations: 23.97 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.667e-05/0.005101, allocations: 19.98 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.005206, allocations: 64.81 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.005208, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001356/0.005344, allocations: 89.81 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.005356, allocations: 4 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.005361, allocations: 0 / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.005373, allocations: 0 / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.348e-05/0.005446, allocations: 12.03 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.005451, allocations: 4 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.005486, allocations: 11.97 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.005492, allocations: 4 kB / 0.9541 GB, free: 15.57 MB / 0.9167 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,intGreEquThr.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 6.104e-05/0.005553, allocations: 113.8 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.005567, allocations: 4 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.00559, allocations: 8 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.005592, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.005596, allocations: 3.938 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.005601, allocations: 7.984 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.005716, allocations: 144.7 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.005717, allocations: 7.938 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.005752, allocations: 11.98 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.005753, allocations: 0 / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.005762, allocations: 4 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.005763, allocations: 0 / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.005764, allocations: 3.938 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.005943, allocations: 184 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.005952, allocations: 4 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.005963, allocations: 4 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.613e-05/0.006009, allocations: 7.984 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.006063, allocations: 11.98 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.006066, allocations: 0 / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.859e-05/0.006105, allocations: 95.56 kB / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006105, allocations: 0 / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001527/0.006258, allocations: 7.953 kB / 0.9547 GB, free: 14.88 MB / 0.9167 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 (intGreEquThr.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.0004649/0.006722, allocations: 0.7163 MB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.006877, allocations: 59.94 kB / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.006878, allocations: 0 / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.751e-05/0.006936, allocations: 31.91 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.007143, allocations: 8 kB / 0.9555 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009714/0.008114, allocations: 1.327 MB / 0.9568 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.363e-05/0.008168, allocations: 71.28 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.523e-05/0.008203, allocations: 4 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.008256, allocations: 16.48 kB / 0.9569 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of SimCode: time 6.12e-07/0.008257, allocations: 4 kB / 0.9569 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.02301, allocations: 2.569 MB / 0.9594 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.744/6.767, allocations: 6.391 kB / 0.9594 GB, free: 10.09 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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: 10.743618494831026]