Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.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.00135/0.00135, allocations: 79.97 kB / 19.18 MB, free: 2.527 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.001578/0.001578, allocations: 167.4 kB / 22.46 MB, free: 5.355 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.429/1.429, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 2.657/2.657, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3361,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3361,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.182e-05, allocations: 6.219 kB / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003416/0.003448, allocations: 1.8 MB / 0.9527 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002747/0.006194, allocations: 1.726 MB / 0.9544 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.457e-05/0.006279, allocations: 3.938 kB / 0.9544 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.00646, allocations: 27.72 kB / 0.9544 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.006573, allocations: 19.81 kB / 0.9544 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008501/0.007423, allocations: 271 kB / 0.9547 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.007812, allocations: 255.4 kB / 0.9549 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.007958, allocations: 49.7 kB / 0.955 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.008213, allocations: 119.8 kB / 0.9551 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.008362, allocations: 75.77 kB / 0.9552 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.008399, allocations: 12 kB / 0.9552 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.00883, allocations: 239.4 kB / 0.9554 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.008943, allocations: 83.77 kB / 0.9555 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.004e-05/0.009033, allocations: 59.83 kB / 0.9556 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005906/0.009624, allocations: 426.7 kB / 0.956 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.009627, allocations: 4 kB / 0.956 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.12e-07/0.009628, allocations: 0 / 0.956 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.009633, allocations: 0 / 0.956 GB, free: 6.43 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008995/0.01053, allocations: 496.8 kB / 0.9564 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.01056, allocations: 8.031 kB / 0.9564 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.01074, allocations: 36.78 kB / 0.9565 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.01117, allocations: 206.7 kB / 0.9567 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.01119, allocations: 28.3 kB / 0.9567 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.01125, allocations: 28.38 kB / 0.9567 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.01166, allocations: 205.6 kB / 0.9569 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.01167, allocations: 0 / 0.9569 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.01169, allocations: 8 kB / 0.9569 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.0117, allocations: 7.984 kB / 0.9569 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.01196, allocations: 115.7 kB / 0.9571 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.01321, allocations: 487.9 kB / 0.9575 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.01357, allocations: 182.5 kB / 0.9577 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.01375, allocations: 92.8 kB / 0.9578 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.01378, allocations: 4 kB / 0.9578 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003103/0.01409, allocations: 173.1 kB / 0.9579 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=27): time 2.234e-06/0.01409, allocations: 3.938 kB / 0.958 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=27): time 0.0007913/0.01488, allocations: 396.6 kB / 0.9583 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.01494, allocations: 67.39 kB / 0.9584 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.01511, allocations: 167.5 kB / 0.9586 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.01518, allocations: 45.7 kB / 0.9586 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.897e-05/0.01528, allocations: 132.9 kB / 0.9587 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.061e-05/0.01537, allocations: 79.38 kB / 0.9588 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.01548, allocations: 82.19 kB / 0.9589 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.01565, allocations: 338.8 kB / 0.9592 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.01587, allocations: 112.9 kB / 0.9593 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.01623, allocations: 287.7 kB / 0.9596 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/0.01677, allocations: 375.9 kB / 0.9599 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01678, allocations: 0 / 0.9599 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007307/0.01751, allocations: 421.2 kB / 0.9603 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.01753, allocations: 7.938 kB / 0.9604 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.01753, allocations: 4 kB / 0.9604 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.01756, allocations: 15.92 kB / 0.9604 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.01778, allocations: 63.91 kB / 0.9604 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.01779, allocations: 7.938 kB / 0.9604 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.01795, allocations: 35.77 kB / 0.9605 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.01798, allocations: 16 kB / 0.9605 GB, free: 1.496 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 34 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri_temp[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri_temp[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2],onOffCon.y,$PRE.onOffCon.y,pyt.uRWri_temp[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0002022/0.01818, allocations: 184.5 kB / 0.9607 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.01821, allocations: 15.91 kB / 0.9607 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.01826, allocations: 26.58 kB / 0.9607 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01827, allocations: 4 kB / 0.9607 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01827, allocations: 3.938 kB / 0.9607 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01827, allocations: 0 / 0.9607 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.01933, allocations: 0.6123 MB / 0.9613 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.01933, allocations: 3.938 kB / 0.9613 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.01946, allocations: 28.11 kB / 0.9613 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.01947, allocations: 4 kB / 0.9613 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.01949, allocations: 7.984 kB / 0.9614 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.0195, allocations: 4 kB / 0.9614 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.0195, allocations: 0 / 0.9614 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008159/0.02031, allocations: 0.5041 MB / 0.9619 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.02034, allocations: 35.77 kB / 0.9619 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-05/0.02041, allocations: 19.98 kB / 0.9619 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.02054, allocations: 15.92 kB / 0.9619 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.0206, allocations: 19.97 kB / 0.9619 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.02064, allocations: 11.98 kB / 0.9619 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001137/0.02075, allocations: 128.2 kB / 0.9621 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8e-08/0.02075, allocations: 0 / 0.9621 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004703/0.02122, allocations: 115.6 kB / 0.9622 GB, free: 15.7 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 18 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0009188/0.02214, allocations: 354.9 kB / 0.9625 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005616/0.0227, allocations: 277.7 kB / 0.9628 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.0227, allocations: 0 / 0.9628 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.0229, allocations: 91.89 kB / 0.9629 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.02322, allocations: 38.09 kB / 0.9629 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009473/0.02417, allocations: 460.2 kB / 0.9633 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.02431, allocations: 144.4 kB / 0.9635 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001286/0.02444, allocations: 50.19 kB / 0.9635 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.0245, allocations: 28.48 kB / 0.9636 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/0.0245, allocations: 0 / 0.9636 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of Templates: time 0.008355/0.03285, allocations: 3.285 MB / 0.9668 GB, free: 11.09 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.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: 7.764435607939959]