Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001781/0.001781, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.001987/0.001987, allocations: 177.2 kB / 22.76 MB, free: 1.66 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 1.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.447/3.447, allocations: 429.4 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.8775 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.03e-05, allocations: 6.312 kB / 0.8775 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002102/0.002132, allocations: 0.7767 MB / 0.8782 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.003442, allocations: 0.8845 MB / 0.8791 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.003494, allocations: 5.094 kB / 0.8791 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.003528, allocations: 7.875 kB / 0.8791 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.679e-05/0.003625, allocations: 13.19 kB / 0.8791 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.003852, allocations: 48.88 kB / 0.8792 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.003986, allocations: 79.83 kB / 0.8792 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.004125, allocations: 24.97 kB / 0.8793 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.004263, allocations: 51.95 kB / 0.8793 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.435e-05/0.004358, allocations: 35.89 kB / 0.8793 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.004392, allocations: 10.34 kB / 0.8793 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.236e-05/0.004415, allocations: 8 kB / 0.8794 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.004461, allocations: 27.89 kB / 0.8794 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.004505, allocations: 19.92 kB / 0.8794 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.004695, allocations: 99.64 kB / 0.8795 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.004699, allocations: 0 / 0.8795 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/0.0047, allocations: 2.188 kB / 0.8795 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.004705, allocations: 0 / 0.8795 GB, free: 4.453 MB / 0.8386 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.0007243/0.00543, allocations: 415.9 kB / 0.8799 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.005468, allocations: 8.031 kB / 0.8799 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.005533, allocations: 16.89 kB / 0.8799 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.005686, allocations: 113.3 kB / 0.88 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.005706, allocations: 8.375 kB / 0.88 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.005723, allocations: 6.031 kB / 0.88 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.006004, allocations: 98.19 kB / 0.8801 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.006019, allocations: 3.938 kB / 0.8801 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.006033, allocations: 3.938 kB / 0.8801 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.006041, allocations: 4.5 kB / 0.8801 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.006316, allocations: 69.23 kB / 0.8802 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.006907, allocations: 333.2 kB / 0.8805 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.0075, allocations: 123 kB / 0.8806 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.007643, allocations: 43.67 kB / 0.8807 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.007671, allocations: 8 kB / 0.8807 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.007709, allocations: 37.39 kB / 0.8807 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.00771, allocations: 0 / 0.8807 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0005549/0.008265, allocations: 149.5 kB / 0.8809 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.008311, allocations: 51.41 kB / 0.8809 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.008477, allocations: 189.9 kB / 0.8811 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.008501, allocations: 25.7 kB / 0.8811 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.008609, allocations: 146.8 kB / 0.8813 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.008642, allocations: 27.8 kB / 0.8813 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.008709, allocations: 31.36 kB / 0.8813 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002776/0.008987, allocations: 0.4922 MB / 0.8818 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.009119, allocations: 35.97 kB / 0.8818 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.00924, allocations: 31.98 kB / 0.8819 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.009522, allocations: 79.62 kB / 0.8819 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.009524, allocations: 0 / 0.8819 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003356/0.009859, allocations: 117.6 kB / 0.8821 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.009879, allocations: 11.98 kB / 0.8821 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.009883, allocations: 0 / 0.8821 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.009897, allocations: 0 / 0.8821 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.01004, allocations: 15.98 kB / 0.8821 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.01005, allocations: 0 / 0.8821 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.89e-05/0.01013, allocations: 11.95 kB / 0.8821 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.01015, allocations: 3.984 kB / 0.8821 GB, free: 1.586 MB / 0.8386 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 (reaToInt1.y,reaToInt.y,min1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.01029, allocations: 164.5 kB / 0.8823 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.01032, allocations: 12 kB / 0.8823 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.01072, allocations: 134.5 kB / 0.8824 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01072, allocations: 0 / 0.8824 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.01073, allocations: 7.938 kB / 0.8824 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.01073, allocations: 3.984 kB / 0.8824 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.01096, allocations: 152.5 kB / 0.8826 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01096, allocations: 0 / 0.8826 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.01109, allocations: 19.97 kB / 0.8826 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01109, allocations: 4 kB / 0.8826 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.0111, allocations: 4 kB / 0.8826 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.0111, allocations: 0 / 0.8826 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01111, allocations: 0 / 0.8826 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.01153, allocations: 271.8 kB / 0.8828 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.693e-05/0.01155, allocations: 11.94 kB / 0.8829 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.01157, allocations: 0 / 0.8829 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.01169, allocations: 11.98 kB / 0.8829 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.384e-05/0.01178, allocations: 23.97 kB / 0.8829 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.01179, allocations: 4 kB / 0.8829 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001011/0.01189, allocations: 143.5 kB / 0.883 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01189, allocations: 0 / 0.883 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002324/0.01212, allocations: 19.95 kB / 0.883 GB, free: 0.543 MB / 0.8386 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 (min1.y,reaToInt.y,reaToInt1.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 (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.0001364/0.01226, allocations: 95.25 kB / 0.8831 GB, free: 452 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003435/0.0126, allocations: 95.55 kB / 0.8832 GB, free: 352 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.01261, allocations: 4 kB / 0.8832 GB, free: 348 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.01279, allocations: 63.66 kB / 0.8833 GB, free: 280 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.01306, allocations: 22.27 kB / 0.8833 GB, free: 260 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.01356, allocations: 174.8 kB / 0.8835 GB, free: 52 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.01367, allocations: 81.25 kB / 0.8836 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.346e-05/0.01373, allocations: 11.98 kB / 0.8836 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.01381, allocations: 20.5 kB / 0.8836 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.01381, allocations: 0 / 0.8836 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of Templates: time 0.005481/0.01929, allocations: 1.725 MB / 0.8853 GB, free: 14.23 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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: 8.669823595089838]