Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 108 kB / 15.6 MB, free: 132 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.001848/0.001848, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.276/1.276, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.26/2.26, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5511/0.5525, allocations: 140.4 MB / 0.9497 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002332/0.5549, allocations: 1.629 MB / 0.9513 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005783/0.5555, allocations: 477.2 kB / 0.9518 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.5556, allocations: 1.656 kB / 0.9518 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.33e-05/0.5556, allocations: 13.52 kB / 0.9518 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.5557, allocations: 48.09 kB / 0.9518 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.5559, allocations: 32.72 kB / 0.9518 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.5561, allocations: 137.9 kB / 0.952 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.5562, allocations: 34.53 kB / 0.952 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.5564, allocations: 62.56 kB / 0.9521 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.5565, allocations: 55.48 kB / 0.9521 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.5566, allocations: 7.906 kB / 0.9521 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.063e-05/0.5566, allocations: 7.594 kB / 0.9521 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.5566, allocations: 18.73 kB / 0.9522 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.036e-05/0.5567, allocations: 55.56 kB / 0.9522 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.5569, allocations: 108.8 kB / 0.9523 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.5569, allocations: 1.438 kB / 0.9523 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5569, allocations: 0 / 0.9523 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5569, allocations: 0 / 0.9523 GB, free: 7.277 MB / 0.7169 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.0006075/0.5575, allocations: 403.6 kB / 0.9527 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.5576, allocations: 9 kB / 0.9527 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.5576, allocations: 36.97 kB / 0.9527 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.5577, allocations: 15.12 kB / 0.9528 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.5579, allocations: 209.4 kB / 0.953 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.5579, allocations: 12.14 kB / 0.953 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.558, allocations: 13.38 kB / 0.953 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.5581, allocations: 68.89 kB / 0.953 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.5581, allocations: 0 / 0.953 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.5581, allocations: 5.156 kB / 0.953 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.5581, allocations: 1.094 kB / 0.953 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.082e-05/0.5582, allocations: 31.64 kB / 0.9531 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/0.5589, allocations: 487.1 kB / 0.9535 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.5592, allocations: 151 kB / 0.9537 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.5593, allocations: 23.17 kB / 0.9537 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.5593, allocations: 1.406 kB / 0.9537 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.5593, allocations: 38.53 kB / 0.9537 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 3.597e-06/0.5593, allocations: 1.438 kB / 0.9537 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0006106/0.56, allocations: 199.2 kB / 0.9539 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.56, allocations: 52.88 kB / 0.954 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.5602, allocations: 161.4 kB / 0.9541 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.5602, allocations: 31.05 kB / 0.9542 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.5603, allocations: 113.4 kB / 0.9543 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.5603, allocations: 16.84 kB / 0.9543 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.5603, allocations: 19.19 kB / 0.9543 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.5604, allocations: 321.3 kB / 0.9546 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.435e-05/0.5604, allocations: 11.28 kB / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.765e-05/0.5605, allocations: 40.88 kB / 0.9547 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.118e-05/0.5606, allocations: 36.17 kB / 0.9547 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5606, allocations: 0 / 0.9547 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002106/0.5608, allocations: 99.45 kB / 0.9548 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5608, allocations: 9.031 kB / 0.9548 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5608, allocations: 0 / 0.9548 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.5611, allocations: 23.62 kB / 0.9548 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.359e-05/0.5611, allocations: 9.562 kB / 0.9548 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008779/0.562, allocations: 1.408 MB / 0.9562 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.5621, allocations: 7.359 kB / 0.9562 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.5621, allocations: 1.25 kB / 0.9562 GB, free: 3.301 MB / 0.7169 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 7.247e-05/0.5622, allocations: 114.3 kB / 0.9563 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.5623, allocations: 8.312 kB / 0.9563 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.5623, allocations: 15.47 kB / 0.9564 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5623, allocations: 4.062 kB / 0.9564 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.5623, allocations: 5.031 kB / 0.9564 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5623, allocations: 0 / 0.9564 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.5627, allocations: 365.3 kB / 0.9567 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5627, allocations: 3.938 kB / 0.9567 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.5627, allocations: 3 kB / 0.9567 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.589e-05/0.5628, allocations: 23.19 kB / 0.9567 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.5628, allocations: 4 kB / 0.9567 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007255/0.5636, allocations: 1.396 MB / 0.9581 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5636, allocations: 5 kB / 0.9581 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.5638, allocations: 179 kB / 0.9583 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.5638, allocations: 95.31 kB / 0.9584 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.5638, allocations: 17.19 kB / 0.9584 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.5639, allocations: 1.188 kB / 0.9584 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.564, allocations: 1.125 kB / 0.9584 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-06/0.564, allocations: 1.125 kB / 0.9584 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.663e-05/0.564, allocations: 120.5 kB / 0.9585 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.564, allocations: 0 / 0.9585 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002705/0.5643, allocations: 32.5 kB / 0.9585 GB, free: 0.9141 MB / 0.7169 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.0003331/0.5647, allocations: 0.7213 MB / 0.9592 GB, free: 212 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002831/0.5649, allocations: 151 kB / 0.9594 GB, free: 80 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.565, allocations: 1.125 kB / 0.9594 GB, free: 80 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.5652, allocations: 136.3 kB / 0.9595 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.5655, allocations: 33.16 kB / 0.9596 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.567, allocations: 1.559 MB / 0.9611 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.5673, allocations: 0.6932 MB / 0.9618 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.91e-05/0.5673, allocations: 14.25 kB / 0.9618 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.5674, allocations: 23.03 kB / 0.9618 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.5674, allocations: 0 / 0.9618 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05535/0.6228, allocations: 3.092 MB / 0.9648 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.77, allocations: 0.75 kB / 0.9648 GB, free: 12.23 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches