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: "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_latest_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.007367/0.007367, allocations: 97.59 kB / 15.73 MB, free: 6 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.002158/0.002158, allocations: 186.2 kB / 16.67 MB, free: 5.93 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.565/2.565, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 67.89 kB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2624, allocations: 162.3 MB / 1.242 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002542/0.265, allocations: 1.628 MB / 1.243 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007432/0.2658, allocations: 482.8 kB / 1.244 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/0.2658, allocations: 0 / 1.244 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.112e-05/0.2659, allocations: 7.875 kB / 1.244 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.266, allocations: 51.61 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.2662, allocations: 27.97 kB / 1.244 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.2664, allocations: 143.3 kB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.2665, allocations: 31.98 kB / 1.244 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.2666, allocations: 63.77 kB / 1.244 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.62e-05/0.2667, allocations: 55.72 kB / 1.244 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.2668, allocations: 8 kB / 1.244 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.627e-05/0.2668, allocations: 8 kB / 1.244 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.2668, allocations: 19.92 kB / 1.244 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.429e-05/0.2669, allocations: 59.7 kB / 1.244 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.267, allocations: 95.64 kB / 1.244 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.267, allocations: 0 / 1.244 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2671, allocations: 0 / 1.244 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2671, allocations: 4 kB / 1.244 GB, free: 7.215 MB / 0.9981 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.0005013/0.2676, allocations: 411 kB / 1.245 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2676, allocations: 12.03 kB / 1.245 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.2677, allocations: 46.61 kB / 1.245 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.2677, allocations: 12.89 kB / 1.245 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.2679, allocations: 197.5 kB / 1.245 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.268, allocations: 8.375 kB / 1.245 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.268, allocations: 4.375 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.2681, allocations: 81.8 kB / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2681, allocations: 0 / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2681, allocations: 0 / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2681, allocations: 0 / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.233e-05/0.2682, allocations: 39.92 kB / 1.245 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.2688, allocations: 487.4 kB / 1.246 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.2691, allocations: 159.7 kB / 1.246 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.16e-05/0.2692, allocations: 20.8 kB / 1.246 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.363e-06/0.2692, allocations: 4 kB / 1.246 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.2692, allocations: 34.56 kB / 1.246 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.2692, allocations: 0 / 1.246 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004861/0.2697, allocations: 203.5 kB / 1.246 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.2697, allocations: 51.41 kB / 1.246 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.2699, allocations: 160.9 kB / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2699, allocations: 29.7 kB / 1.246 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.27, allocations: 112 kB / 1.246 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.27, allocations: 7.906 kB / 1.246 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.2701, allocations: 25.72 kB / 1.246 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2702, allocations: 322.8 kB / 1.247 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.729e-05/0.2702, allocations: 12 kB / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-05/0.2703, allocations: 38.56 kB / 1.247 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.857e-05/0.2703, allocations: 36.86 kB / 1.247 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2703, allocations: 0 / 1.247 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001921/0.2705, allocations: 98.59 kB / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.2706, allocations: 8.031 kB / 1.247 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.2706, allocations: 0 / 1.247 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.2707, allocations: 28.83 kB / 1.247 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.478e-05/0.2708, allocations: 4 kB / 1.247 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.2719, allocations: 1.418 MB / 1.248 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.272, allocations: 0 / 1.248 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.272, allocations: 4.031 kB / 1.248 GB, free: 2.738 MB / 0.9981 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.441e-05/0.2721, allocations: 121.9 kB / 1.248 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.2721, allocations: 15.89 kB / 1.248 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.2722, allocations: 12.25 kB / 1.248 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-06/0.2722, allocations: 0 / 1.248 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.2722, allocations: 3.938 kB / 1.248 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2722, allocations: 3.938 kB / 1.248 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.2726, allocations: 359.3 kB / 1.249 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2726, allocations: 8.188 kB / 1.249 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.2726, allocations: 4 kB / 1.249 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.603e-05/0.2727, allocations: 28.78 kB / 1.249 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.2727, allocations: 0 / 1.249 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000992/0.2737, allocations: 1.391 MB / 1.25 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2737, allocations: 3.938 kB / 1.25 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.274, allocations: 188.4 kB / 1.25 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.274, allocations: 89 kB / 1.251 GB, free: 284 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.274, allocations: 3.938 kB / 1.251 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.2741, allocations: 4 kB / 1.251 GB, free: 276 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.2741, allocations: 7.984 kB / 1.251 GB, free: 268 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.2742, allocations: 3.938 kB / 1.251 GB, free: 264 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.615e-05/0.2742, allocations: 122.1 kB / 1.251 GB, free: 144 kB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.2742, allocations: 0 / 1.251 GB, free: 144 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002438/0.2745, allocations: 39.95 kB / 1.251 GB, free: 104 kB / 0.9981 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.4856/0.7601, allocations: 0.7067 MB / 1.251 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.7605, allocations: 161.7 kB / 1.252 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7605, allocations: 0 / 1.252 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.7606, allocations: 135 kB / 1.252 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.7609, allocations: 25.19 kB / 1.252 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.7621, allocations: 1.565 MB / 1.253 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.708e-05/0.7622, allocations: 0.6975 MB / 1.254 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.914e-05/0.7623, allocations: 10.2 kB / 1.254 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.7623, allocations: 26.86 kB / 1.254 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.7623, allocations: 0.75 kB / 1.254 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.08/9.842, allocations: 3.156 MB / 1.257 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/22.61, allocations: 4.812 kB / 1.257 GB, free: 11.58 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > 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