Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 102.2 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 194.3 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.543/2.543, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.47 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.268, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003323/0.2714, allocations: 1.796 MB / 1.021 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002244/0.2737, allocations: 1.596 MB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.918e-05/0.2738, allocations: 0 / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.2739, allocations: 31.73 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.2741, allocations: 19.78 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006795/0.2748, allocations: 231.3 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.2751, allocations: 251.4 kB / 1.023 GB, free: 5.926 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.2753, allocations: 53.89 kB / 1.023 GB, free: 5.867 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.2754, allocations: 87.8 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.2756, allocations: 79.67 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.2756, allocations: 15.94 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.276, allocations: 215.7 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.2761, allocations: 83.78 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.885e-05/0.2762, allocations: 87.53 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004466/0.2767, allocations: 382.8 kB / 1.024 GB, free: 4.934 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2767, allocations: 4 kB / 1.024 GB, free: 4.93 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2767, allocations: 0 / 1.024 GB, free: 4.93 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.2767, allocations: 4 kB / 1.024 GB, free: 4.926 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009271/0.2776, allocations: 0.5652 MB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2777, allocations: 8.922 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.2777, allocations: 24.66 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.278, allocations: 255.8 kB / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.2781, allocations: 16.7 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.2781, allocations: 31.94 kB / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.2785, allocations: 200.2 kB / 1.025 GB, free: 3.742 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.2785, allocations: 0 / 1.025 GB, free: 3.742 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.2785, allocations: 7.984 kB / 1.025 GB, free: 3.734 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2785, allocations: 4 kB / 1.025 GB, free: 3.73 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.2788, allocations: 116.5 kB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.28, allocations: 0.582 MB / 1.025 GB, free: 2.984 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000778/0.2808, allocations: 278.5 kB / 1.026 GB, free: 2.703 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.281, allocations: 101.4 kB / 1.026 GB, free: 2.602 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.281, allocations: 0 / 1.026 GB, free: 2.602 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002875/0.2813, allocations: 173.7 kB / 1.026 GB, free: 2.422 MB / 0.795 GB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.2813, allocations: 0 / 1.026 GB, free: 2.422 MB / 0.795 GB Notification: Performance of matching and sorting (n=26): time 0.0006648/0.282, allocations: 383.7 kB / 1.026 GB, free: 2.043 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.2821, allocations: 67.38 kB / 1.026 GB, free: 1.965 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.2822, allocations: 179.3 kB / 1.026 GB, free: 1.781 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.2823, allocations: 49.69 kB / 1.026 GB, free: 1.727 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.2824, allocations: 128.5 kB / 1.027 GB, free: 1.598 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.2824, allocations: 75.03 kB / 1.027 GB, free: 1.523 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.695e-05/0.2825, allocations: 82.12 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2826, allocations: 338.8 kB / 1.027 GB, free: 1.098 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.2828, allocations: 112.8 kB / 1.027 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.2831, allocations: 248.6 kB / 1.027 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.2836, allocations: 367.9 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2836, allocations: 0 / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006082/0.2842, allocations: 416.8 kB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.2842, allocations: 8 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2842, allocations: 4 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.2842, allocations: 4 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.2844, allocations: 72.25 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.2845, allocations: 8 kB / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.2847, allocations: 39.67 kB / 1.028 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.2847, allocations: 23.94 kB / 1.028 GB, free: 15.7 MB / 0.8106 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,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],pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.00016/0.2849, allocations: 184.3 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.2849, allocations: 19.72 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.2849, allocations: 17.88 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.285, allocations: 4 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.285, allocations: 3.984 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.285, allocations: 0 / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009333/0.2859, allocations: 0.6781 MB / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2859, allocations: 0 / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.286, allocations: 19.98 kB / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2861, allocations: 4 kB / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.2861, allocations: 11.98 kB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2861, allocations: 0 / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2861, allocations: 3.938 kB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006766/0.2868, allocations: 0.5031 MB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.2868, allocations: 100.8 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.2869, allocations: 24.16 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.2871, allocations: 19.98 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.2872, allocations: 19.97 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.2872, allocations: 15.98 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.807e-05/0.2873, allocations: 128.8 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2873, allocations: 0 / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004547/0.2877, allocations: 115.8 kB / 1.03 GB, free: 13.75 MB / 0.8106 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 (25): * Single equations (assignments): 11 * 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.000636/0.2884, allocations: 332.6 kB / 1.03 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004673/0.2889, allocations: 271.6 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2889, allocations: 4 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.2891, allocations: 103.8 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.2894, allocations: 23.16 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008162/0.2902, allocations: 486.9 kB / 1.031 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.2905, allocations: 0.748 MB / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.2906, allocations: 54.44 kB / 1.032 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.2907, allocations: 23.38 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.2907, allocations: 3.938 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of Templates: time 0.006783/0.2975, allocations: 3.23 MB / 1.035 GB, free: 8.508 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches