Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001242/0.001242, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001878/0.001878, allocations: 173 kB / 23.49 MB, free: 1.059 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.9514/0.9514, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 2.106/2.106, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] 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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.917e-06/3.917e-06, allocations: 0 / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.04e-05/4.431e-05, allocations: 3.125 kB / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002126/0.00217, allocations: 0.7304 MB / 0.8789 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.003215, allocations: 0.8723 MB / 0.8798 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.003261, allocations: 4.781 kB / 0.8798 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.003293, allocations: 3.938 kB / 0.8798 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.904e-05/0.003382, allocations: 6.656 kB / 0.8798 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.003552, allocations: 28.89 kB / 0.8798 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.127e-05/0.003643, allocations: 47.86 kB / 0.8798 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.003783, allocations: 13.14 kB / 0.8799 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.003884, allocations: 23.97 kB / 0.8799 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.435e-05/0.003949, allocations: 23.91 kB / 0.8799 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.003975, allocations: 5 kB / 0.8799 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.749e-06/0.003985, allocations: 4 kB / 0.8799 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.004004, allocations: 4 kB / 0.8799 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.004034, allocations: 21 kB / 0.8799 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.004138, allocations: 35.84 kB / 0.88 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.004143, allocations: 0 / 0.88 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/0.004145, allocations: 1.125 kB / 0.88 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.00415, allocations: 0 / 0.88 GB, free: 4.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004333/0.004584, allocations: 380.5 kB / 0.8803 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.004644, allocations: 13.06 kB / 0.8803 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.004702, allocations: 8.922 kB / 0.8804 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.004826, allocations: 121.3 kB / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.004853, allocations: 384 / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.004868, allocations: 10 kB / 0.8805 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.005043, allocations: 62.94 kB / 0.8805 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.005052, allocations: 3.938 kB / 0.8805 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.005062, allocations: 0 / 0.8805 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.005071, allocations: 4.969 kB / 0.8805 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.764e-05/0.005118, allocations: 15.92 kB / 0.8806 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.005497, allocations: 280.8 kB / 0.8808 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.005606, allocations: 51.02 kB / 0.8809 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.005638, allocations: 16.25 kB / 0.8809 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.005654, allocations: 0.6562 kB / 0.8809 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.005678, allocations: 41.39 kB / 0.8809 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.005679, allocations: 1.594 kB / 0.8809 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001934/0.005873, allocations: 61.66 kB / 0.881 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.005905, allocations: 55.41 kB / 0.881 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.598e-05/0.005991, allocations: 165.9 kB / 0.8812 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.006003, allocations: 28.92 kB / 0.8812 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.006062, allocations: 130.9 kB / 0.8814 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.006084, allocations: 19.95 kB / 0.8814 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.006122, allocations: 23.38 kB / 0.8814 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.006242, allocations: 492.1 kB / 0.8819 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.217e-05/0.006274, allocations: 15.92 kB / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.764e-05/0.006292, allocations: 4 kB / 0.8819 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.666e-05/0.006338, allocations: 27.67 kB / 0.8819 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.006342, allocations: 5.25 kB / 0.8819 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.687e-05/0.006428, allocations: 49.69 kB / 0.882 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.006445, allocations: 4 kB / 0.882 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.006451, allocations: 1.562 kB / 0.882 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.006465, allocations: 4 kB / 0.882 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.006575, allocations: 11.92 kB / 0.882 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.006581, allocations: 3.938 kB / 0.882 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.159e-05/0.006612, allocations: 9.047 kB / 0.882 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.006619, allocations: 4 kB / 0.882 GB, free: 2.543 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: 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 8.567e-05/0.006705, allocations: 168.5 kB / 0.8822 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.006726, allocations: 4 kB / 0.8822 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.006755, allocations: 7.984 kB / 0.8822 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.006757, allocations: 0 / 0.8822 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.006761, allocations: 0 / 0.8822 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006764, allocations: 0 / 0.8822 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.006883, allocations: 124.6 kB / 0.8823 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.006885, allocations: 3.938 kB / 0.8823 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.006925, allocations: 11.98 kB / 0.8823 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.006927, allocations: 0 / 0.8823 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.006936, allocations: 4 kB / 0.8823 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.006936, allocations: 0 / 0.8823 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.006938, allocations: 4 kB / 0.8823 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.007084, allocations: 203.8 kB / 0.8825 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.0071, allocations: 11.88 kB / 0.8825 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.007115, allocations: 4 kB / 0.8825 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.475e-05/0.00716, allocations: 4 kB / 0.8825 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.007222, allocations: 7.984 kB / 0.8825 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.007227, allocations: 4 kB / 0.8825 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.007273, allocations: 127.2 kB / 0.8827 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007273, allocations: 0 / 0.8827 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000152/0.007425, allocations: 16 kB / 0.8827 GB, free: 1.785 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: 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.0001184/0.007543, allocations: 91.62 kB / 0.8828 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.007661, allocations: 31.66 kB / 0.8828 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.007663, allocations: 0 / 0.8828 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.604e-05/0.007699, allocations: 31.61 kB / 0.8828 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.007921, allocations: 13.98 kB / 0.8828 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.008259, allocations: 130.4 kB / 0.883 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.139e-05/0.008301, allocations: 59.34 kB / 0.883 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.008332, allocations: 4 kB / 0.883 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.008374, allocations: 12.5 kB / 0.883 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of SimCode: time 1.092e-06/0.008375, allocations: 0 / 0.883 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of Templates: time 0.002942/0.01132, allocations: 0.9754 MB / 0.884 GB, free: 404 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.510630817851052]