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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001353/0.001353, allocations: 107.7 kB / 16.41 MB, free: 5.977 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.001377/0.001378, allocations: 188.3 kB / 17.34 MB, free: 5.586 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.59/2.59, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.89 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7148/0.7162, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.00273/0.719, allocations: 1.644 MB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008431/0.7198, allocations: 474.8 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.355e-05/0.7199, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.249e-05/0.72, allocations: 19.86 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.7202, allocations: 39.62 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.7204, allocations: 23.97 kB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.7205, allocations: 147.3 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.7207, allocations: 31.97 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.7209, allocations: 67.77 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.721, allocations: 55.7 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.721, allocations: 8 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.854e-05/0.7211, allocations: 12 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.7211, allocations: 19.92 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.422e-05/0.7212, allocations: 51.73 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.7213, allocations: 103.5 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7214, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.654e-06/0.7214, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.7214, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9356 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.000566/0.7219, allocations: 404.9 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.722, allocations: 12.02 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.722, allocations: 16.75 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.7223, allocations: 208.1 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.7224, allocations: 8.375 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.7224, allocations: 4.375 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.7225, allocations: 73.81 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.7225, allocations: 3.938 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.7225, allocations: 0 / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.7226, allocations: 3.984 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.768e-05/0.7226, allocations: 35.98 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.7233, allocations: 487.3 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.7236, allocations: 151.7 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.7237, allocations: 24.94 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.7237, allocations: 4.031 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.7237, allocations: 34.56 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.7237, allocations: 0 / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0005728/0.7243, allocations: 195.4 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.7244, allocations: 55.41 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.7245, allocations: 160.7 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.7245, allocations: 33.7 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.7246, allocations: 111.9 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.7246, allocations: 15.73 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.7247, allocations: 21.72 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.7248, allocations: 318.8 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.928e-05/0.7248, allocations: 12 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.412e-05/0.7249, allocations: 42.56 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.096e-05/0.7249, allocations: 40.92 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.725, allocations: 0 / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002093/0.7252, allocations: 98.38 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.7252, allocations: 6.188 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.7252, allocations: 0 / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001758/0.7254, allocations: 20.84 kB / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.568e-05/0.7254, allocations: 15.92 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.7265, allocations: 1.391 MB / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.7267, allocations: 11.94 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.7267, allocations: 7.938 kB / 1.215 GB, free: 6.566 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.665e-05/0.7268, allocations: 117.8 kB / 1.215 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.7268, allocations: 7.906 kB / 1.215 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.7269, allocations: 16.23 kB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.7269, allocations: 304 / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.7269, allocations: 7.938 kB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.7269, allocations: 3.984 kB / 1.215 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.7273, allocations: 359.3 kB / 1.215 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.7273, allocations: 0 / 1.215 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.7273, allocations: 11.92 kB / 1.215 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.403e-05/0.7274, allocations: 24.84 kB / 1.215 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.7275, allocations: 0 / 1.215 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009706/0.7284, allocations: 1.402 MB / 1.217 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7285, allocations: 3.938 kB / 1.217 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.7287, allocations: 180.3 kB / 1.217 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.7288, allocations: 85.02 kB / 1.217 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.7288, allocations: 3.938 kB / 1.217 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/0.7289, allocations: 3.938 kB / 1.217 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.7289, allocations: 12.05 kB / 1.217 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.7289, allocations: 4 kB / 1.217 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.601e-05/0.729, allocations: 125.2 kB / 1.217 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.729, allocations: 0 / 1.217 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002751/0.7293, allocations: 28 kB / 1.217 GB, free: 3.941 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 0.0001033/0.7294, allocations: 99.25 kB / 1.217 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.7297, allocations: 158.6 kB / 1.217 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7298, allocations: 0 / 1.217 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.73, allocations: 138.7 kB / 1.218 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.7303, allocations: 23.97 kB / 1.218 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.7307, allocations: 237.1 kB / 1.218 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.731, allocations: 0.6967 MB / 1.218 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.731, allocations: 11.44 kB / 1.219 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.731, allocations: 0 / 1.219 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of Templates: time 0.003473/0.7345, allocations: 1.849 MB / 1.22 GB, free: 0.6602 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches