Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.HeatTransfer.Radiosity.Examples.OpaqueSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bod1.heatPort.T|bod2.heatPort.T|bod1.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface") translateModel(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bod1.heatPort.T|bod2.heatPort.T|bod1.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 62.47 kB / 0.912 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.333, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002831/0.3359, allocations: 1.624 MB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007641/0.3367, allocations: 486.7 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.3368, allocations: 4 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/0.3368, allocations: 7.875 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.337, allocations: 47.61 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.3372, allocations: 27.97 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.3373, allocations: 139.3 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3375, allocations: 35.97 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.3376, allocations: 55.78 kB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.041e-05/0.3377, allocations: 63.7 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.3378, allocations: 8 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.496e-05/0.3378, allocations: 11.94 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.3378, allocations: 19.92 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.44e-05/0.3379, allocations: 47.73 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.338, allocations: 104 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3381, allocations: 4 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3381, allocations: 0 / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.3381, allocations: 0 / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005123/0.3386, allocations: 403.1 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.3386, allocations: 11.97 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.3387, allocations: 20.75 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.3389, allocations: 200.1 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3389, allocations: 8.375 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.3389, allocations: 4.375 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.3391, allocations: 77.98 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3391, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3391, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3391, allocations: 3.984 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.3392, allocations: 39.98 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006757/0.3399, allocations: 487.2 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.3402, allocations: 147.7 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.3402, allocations: 28.88 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.3403, allocations: 4 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.3403, allocations: 34.56 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3403, allocations: 0 / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000529/0.3408, allocations: 199.5 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.3409, allocations: 55.34 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.341, allocations: 160.9 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.341, allocations: 29.69 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.3411, allocations: 107.9 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.3411, allocations: 19.78 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.3412, allocations: 17.72 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3413, allocations: 322.8 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-05/0.3413, allocations: 16 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.3414, allocations: 34.56 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.664e-05/0.3415, allocations: 36.86 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3415, allocations: 0 / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002042/0.3417, allocations: 98.31 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3417, allocations: 4 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3417, allocations: 192 / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.3419, allocations: 28.88 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.158e-05/0.3419, allocations: 11.98 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.343, allocations: 1.398 MB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.3432, allocations: 15.72 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.3432, allocations: 4 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/0.3433, allocations: 122.4 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.3433, allocations: 7.906 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.3434, allocations: 16.47 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3434, allocations: 0 / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.3434, allocations: 0 / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.3434, allocations: 7.922 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.3438, allocations: 355.3 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3438, allocations: 7.938 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.3438, allocations: 8 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.762e-05/0.3439, allocations: 20.84 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.344, allocations: 4 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009626/0.3449, allocations: 1.394 MB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3449, allocations: 0 / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.3452, allocations: 196.3 kB / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.3452, allocations: 85.02 kB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.3452, allocations: 0 / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.715e-05/0.3453, allocations: 3.938 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.3454, allocations: 11.98 kB / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.3454, allocations: 0 / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.328e-05/0.3455, allocations: 119.2 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3455, allocations: 4 kB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002612/0.3457, allocations: 32 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001115/0.3458, allocations: 95.78 kB / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003336/0.3462, allocations: 158.5 kB / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3462, allocations: 0 / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.3464, allocations: 138.7 kB / 1.077 GB, free: 308 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.3467, allocations: 33.48 kB / 1.077 GB, free: 276 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.3471, allocations: 197.9 kB / 1.078 GB, free: 52 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.3474, allocations: 0.7006 MB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.862e-05/0.3474, allocations: 12.88 kB / 1.078 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.3475, allocations: 15.38 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3475, allocations: 4 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.004103/0.3516, allocations: 1.724 MB / 1.08 GB, free: 13.59 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & ./Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches