Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007402/0.007402, allocations: 104.7 kB / 15.74 MB, free: 6.055 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.001602/0.001602, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.335/1.335, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 71.91 kB / 0.9508 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.922/0.9232, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002849/0.9261, allocations: 1.777 MB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002304/0.9284, allocations: 1.6 MB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.371e-05/0.9285, allocations: 9.031 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.9287, allocations: 24.83 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.9289, allocations: 24.08 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007209/0.9296, allocations: 228 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.93, allocations: 245.4 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.9301, allocations: 60.55 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.9303, allocations: 98.17 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.9305, allocations: 78.97 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.9305, allocations: 12.34 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.9309, allocations: 209.2 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.9311, allocations: 78.64 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.9312, allocations: 98.88 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005185/0.9317, allocations: 380.2 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.9317, allocations: 0.75 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9317, allocations: 0 / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.9317, allocations: 0 / 1.093 GB, free: 2.523 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009531/0.9327, allocations: 0.567 MB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.9327, allocations: 9.469 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.9328, allocations: 26.47 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.9331, allocations: 241.4 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.9331, allocations: 19.92 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.9332, allocations: 29.91 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.9336, allocations: 205 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.9336, allocations: 3.938 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.9336, allocations: 7.547 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.9337, allocations: 4.594 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.9339, allocations: 118.9 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.9353, allocations: 0.5867 MB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008299/0.9361, allocations: 286.6 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.9363, allocations: 95.41 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.9363, allocations: 3.031 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003644/0.9367, allocations: 165.9 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.9367, allocations: 4.75 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.000815/0.9375, allocations: 386.5 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.9376, allocations: 68.95 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.9377, allocations: 186.5 kB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.9378, allocations: 46.72 kB / 1.096 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.9379, allocations: 122.5 kB / 1.096 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.9379, allocations: 83.55 kB / 1.096 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.9381, allocations: 79.47 kB / 1.096 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.315e-05/0.9381, allocations: 338.1 kB / 1.096 GB, free: 172 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.9384, allocations: 113.7 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.9387, allocations: 252 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/0.9393, allocations: 357 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.9393, allocations: 2.188 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007093/0.94, allocations: 420.2 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.94, allocations: 6.594 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.94, allocations: 4.469 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/0.9401, allocations: 7.859 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.9403, allocations: 58.83 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/0.9403, allocations: 12.48 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.9405, allocations: 47.73 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.9406, allocations: 17.56 kB / 1.097 GB, free: 15.46 MB / 0.8731 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.000208/0.9408, allocations: 186.1 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.9408, allocations: 25.55 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.9409, allocations: 20.33 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.9409, allocations: 3.25 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.9409, allocations: 0 / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.9409, allocations: 1.266 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.942, allocations: 0.6721 MB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.942, allocations: 0 / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.9421, allocations: 20.44 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.9422, allocations: 6.188 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.9422, allocations: 15.45 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.9422, allocations: 1.344 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9422, allocations: 0.5938 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007818/0.943, allocations: 0.5131 MB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.9431, allocations: 95.25 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.9431, allocations: 16.8 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.9433, allocations: 26.62 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/0.9434, allocations: 21.64 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.9434, allocations: 10.77 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000128/0.9436, allocations: 125.4 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9436, allocations: 3.938 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006006/0.9442, allocations: 104.7 kB / 1.099 GB, free: 14.37 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 (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.000806/0.945, allocations: 329.2 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006065/0.9456, allocations: 272.9 kB / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9456, allocations: 0 / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.9458, allocations: 105.9 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.9462, allocations: 26.06 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.9472, allocations: 496.3 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.9476, allocations: 0.7447 MB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001688/0.9477, allocations: 56.73 kB / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.9478, allocations: 20.48 kB / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of SimCode: time 3e-07/0.9478, allocations: 0 / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of Templates: time 0.008858/0.9567, allocations: 3.263 MB / 1.104 GB, free: 12.81 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches