Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.006871/0.006871, allocations: 99.25 kB / 15.73 MB, free: 6.484 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.001258/0.001259, allocations: 191.8 kB / 16.67 MB, free: 6.367 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.707/2.707, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 64.08 kB / 1.018 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3393, allocations: 151.6 MB / 1.167 GB, free: 6.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002947/0.3423, allocations: 1.636 MB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008229/0.3431, allocations: 474.8 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.3432, allocations: 3.938 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.546e-05/0.3432, allocations: 19.86 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.3434, allocations: 39.62 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.3436, allocations: 31.91 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.3438, allocations: 143.4 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.3439, allocations: 27.97 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.3441, allocations: 71.7 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.974e-05/0.3442, allocations: 55.77 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.3442, allocations: 8 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.496e-05/0.3442, allocations: 8 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.3443, allocations: 15.92 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.3443, allocations: 59.67 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.3445, allocations: 103.6 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3445, allocations: 3.938 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3445, allocations: 0 / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.3445, allocations: 4 kB / 1.169 GB, free: 4.211 MB / 0.92 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.0005265/0.3451, allocations: 410.9 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.3451, allocations: 8.031 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.3452, allocations: 12.89 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.3454, allocations: 204.2 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3454, allocations: 12.38 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.3455, allocations: 4.375 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.3456, allocations: 85.92 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3456, allocations: 0 / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3456, allocations: 0 / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3456, allocations: 0 / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-05/0.3457, allocations: 35.98 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006064/0.3463, allocations: 479.4 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.3466, allocations: 155.7 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.3467, allocations: 20.86 kB / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.3467, allocations: 0 / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.3467, allocations: 34.56 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.3467, allocations: 0 / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0005392/0.3473, allocations: 203.5 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.3473, allocations: 51.41 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.3476, allocations: 174.3 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3476, allocations: 33.7 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.3477, allocations: 104.1 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.3477, allocations: 11.84 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.3477, allocations: 25.72 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3479, allocations: 318.8 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/0.3479, allocations: 15.94 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.411e-05/0.348, allocations: 42.5 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.845e-05/0.348, allocations: 28.86 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.348, allocations: 4 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001973/0.3482, allocations: 98.42 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3483, allocations: 8.031 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.3483, allocations: 0 / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/0.3484, allocations: 28.77 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.849e-05/0.3485, allocations: 11.94 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.3496, allocations: 1.403 MB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.3497, allocations: 15.92 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.3497, allocations: 4 kB / 1.173 GB, free: 15.77 MB / 0.9356 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.315e-05/0.3498, allocations: 122 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.3498, allocations: 7.953 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.008e-05/0.3499, allocations: 12.25 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3499, allocations: 0 / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.3499, allocations: 0 / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3499, allocations: 3.938 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.3503, allocations: 363.3 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3503, allocations: 7.938 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.3503, allocations: 4 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.834e-05/0.3504, allocations: 24.84 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.3504, allocations: 0 / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.3514, allocations: 1.394 MB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3514, allocations: 0 / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.3517, allocations: 192.4 kB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.3517, allocations: 85.06 kB / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3518, allocations: 0 / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.3519, allocations: 11.88 kB / 1.175 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.3519, allocations: 8.078 kB / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.3519, allocations: 0 / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.886e-05/0.352, allocations: 123.2 kB / 1.175 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.352, allocations: 0 / 1.175 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002516/0.3522, allocations: 28 kB / 1.175 GB, free: 13.16 MB / 0.9356 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 9.957e-05/0.3524, allocations: 103.2 kB / 1.175 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.3527, allocations: 150.7 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3527, allocations: 0 / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.3529, allocations: 142.6 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.3532, allocations: 33.92 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.3535, allocations: 207.3 kB / 1.176 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3538, allocations: 0.7006 MB / 1.177 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.403e-05/0.3539, allocations: 8.875 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.3539, allocations: 11.44 kB / 1.177 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of SimCode: time 1.753e-06/0.3539, allocations: 0 / 1.177 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of Templates: time 0.004157/0.3581, allocations: 1.739 MB / 1.178 GB, free: 10.01 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & ./Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches