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.001672/0.001672, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.002096/0.002096, allocations: 195.6 kB / 16.14 MB, free: 6.656 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.989/2.989, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 69.94 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3313, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.003054/0.3344, allocations: 1.691 MB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007954/0.3352, allocations: 470.8 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.799e-05/0.3353, allocations: 4 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.981e-05/0.3354, allocations: 7.922 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.3355, allocations: 43.69 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.3357, allocations: 27.95 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.3359, allocations: 139.3 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.336, allocations: 27.98 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.3362, allocations: 51.78 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3363, allocations: 55.75 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.3363, allocations: 8 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.397e-05/0.3364, allocations: 4 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.3364, allocations: 19.86 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.3365, allocations: 59.66 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.3366, allocations: 95.97 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3366, allocations: 4 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3366, allocations: 0 / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3367, allocations: 0 / 1.07 GB, free: 8.195 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.0006194/0.3373, allocations: 403.1 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3373, allocations: 12.03 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.3374, allocations: 16.69 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.3376, allocations: 193.9 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3376, allocations: 8.375 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.3377, allocations: 12.31 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.3378, allocations: 77.48 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3378, allocations: 0 / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3378, allocations: 0 / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3379, allocations: 4 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.659e-05/0.3379, allocations: 35.98 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006732/0.3386, allocations: 499.2 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.3389, allocations: 147.7 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.339, allocations: 20.86 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.339, allocations: 0 / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.3391, allocations: 42.67 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3391, allocations: 0 / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0005465/0.3396, allocations: 199.4 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.3397, allocations: 51.41 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.3398, allocations: 161.1 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.3398, allocations: 25.7 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.3399, allocations: 115.9 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.34, allocations: 11.81 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.34, allocations: 17.72 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3401, allocations: 326.8 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.081e-05/0.3402, allocations: 15.98 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.096e-05/0.3402, allocations: 34.52 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.892e-05/0.3403, allocations: 36.86 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3403, allocations: 4.031 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002359/0.3405, allocations: 98.36 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3406, allocations: 8 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3406, allocations: 3.938 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/0.3408, allocations: 20.84 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.274e-05/0.3408, allocations: 8 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.3419, allocations: 1.304 MB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.342, allocations: 15.88 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.342, allocations: 4.094 kB / 1.074 GB, free: 3.883 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 9.797e-05/0.3421, allocations: 125.8 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.3422, allocations: 11.84 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.3422, allocations: 12.25 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.3422, allocations: 0 / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.3422, allocations: 0 / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3422, allocations: 0 / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.3427, allocations: 367.5 kB / 1.074 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.3427, allocations: 4 kB / 1.074 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.3427, allocations: 4 kB / 1.074 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.464e-05/0.3428, allocations: 20.84 kB / 1.074 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3428, allocations: 3.938 kB / 1.074 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009999/0.3438, allocations: 1.311 MB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3438, allocations: 0 / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.3441, allocations: 180.4 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.3441, allocations: 89.02 kB / 1.076 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.3442, allocations: 7.938 kB / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-05/0.3442, allocations: 0 / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.3443, allocations: 8.078 kB / 1.076 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.3443, allocations: 0 / 1.076 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000109/0.3444, allocations: 121.5 kB / 1.076 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3444, allocations: 0 / 1.076 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002638/0.3447, allocations: 36 kB / 1.076 GB, free: 1.363 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 9.904e-05/0.3448, allocations: 99.23 kB / 1.076 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003281/0.3451, allocations: 150.7 kB / 1.076 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3451, allocations: 4 kB / 1.076 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.3453, allocations: 138.5 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.3457, allocations: 39.86 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.3461, allocations: 218.5 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.3464, allocations: 0.697 MB / 1.077 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.667e-05/0.3464, allocations: 8.891 kB / 1.077 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.3464, allocations: 11.44 kB / 1.077 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3465, allocations: 4 kB / 1.077 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.003896/0.3504, allocations: 1.645 MB / 1.079 GB, free: 14.29 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