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: "" <> 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.001835/0.001835, 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.001989/0.001989, allocations: 197.7 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.456/1.456, 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 11.0.1-master/package.mo): time 2.784/2.784, allocations: 469.4 MB / 0.742 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 62.97 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2537, allocations: 159.1 MB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002634/0.2563, allocations: 1.63 MB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007246/0.2571, allocations: 474.9 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.2571, allocations: 0 / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.577e-05/0.2572, allocations: 11.86 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.2573, allocations: 47.62 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.2575, allocations: 31.94 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.2577, allocations: 143.3 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.2578, allocations: 31.97 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.258, allocations: 67.73 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.555e-05/0.2581, allocations: 55.75 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.2581, allocations: 8 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.572e-05/0.2581, allocations: 8 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.74e-05/0.2582, allocations: 19.92 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.2582, allocations: 55.72 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.2584, allocations: 99.97 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2584, allocations: 0 / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2584, allocations: 7.938 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2584, allocations: 0 / 1.066 GB, free: 11.78 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.0005002/0.2589, allocations: 400.8 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.259, allocations: 15.97 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.259, allocations: 38.73 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.259, allocations: 16.75 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.2592, allocations: 196.2 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.2593, allocations: 8.375 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.2593, allocations: 8.375 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.2594, allocations: 81.17 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.2594, allocations: 3.938 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2595, allocations: 0 / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2595, allocations: 0 / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.358e-05/0.2595, allocations: 35.98 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006191/0.2602, allocations: 487.3 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.2605, allocations: 151.7 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.2605, allocations: 32.88 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.2605, allocations: 4.031 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.2606, allocations: 34.59 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.2606, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0005295/0.2611, allocations: 195.4 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.2612, allocations: 59.39 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.2613, allocations: 156.7 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.2613, allocations: 29.7 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.2614, allocations: 115.9 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.2614, allocations: 11.89 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.2614, allocations: 21.62 kB / 1.068 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.2615, allocations: 322.8 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.2616, allocations: 8 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.364e-05/0.2616, allocations: 38.56 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.806e-05/0.2617, allocations: 36.8 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2617, allocations: 4.031 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002041/0.2619, allocations: 98.38 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2619, allocations: 4 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2619, allocations: 0 / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.2621, allocations: 24.84 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.121e-05/0.2622, allocations: 11.92 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.2632, allocations: 1.399 MB / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.2633, allocations: 19.88 kB / 1.07 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.2634, allocations: 3.938 kB / 1.07 GB, free: 7.316 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 8.739e-05/0.2634, allocations: 119.5 kB / 1.07 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.2635, allocations: 7.906 kB / 1.07 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.2635, allocations: 16.23 kB / 1.07 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.2635, allocations: 0 / 1.07 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.2635, allocations: 4 kB / 1.07 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2635, allocations: 4 kB / 1.07 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.264, allocations: 359.3 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.264, allocations: 3.938 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.264, allocations: 4 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.234e-05/0.2641, allocations: 20.84 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.2641, allocations: 0 / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009239/0.265, allocations: 1.406 MB / 1.072 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.2651, allocations: 7.969 kB / 1.072 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.2653, allocations: 180.3 kB / 1.072 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.2653, allocations: 85.02 kB / 1.072 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.2653, allocations: 3.938 kB / 1.072 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.213e-05/0.2654, allocations: 4.062 kB / 1.072 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.2655, allocations: 7.984 kB / 1.072 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.2655, allocations: 7.875 kB / 1.072 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.557e-05/0.2656, allocations: 125.9 kB / 1.072 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2656, allocations: 0 / 1.072 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002735/0.2659, allocations: 31.94 kB / 1.073 GB, free: 4.691 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 0.0004682/0.2663, allocations: 0.7146 MB / 1.073 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003378/0.2667, allocations: 166.5 kB / 1.073 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2667, allocations: 0 / 1.073 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.2669, allocations: 126.7 kB / 1.073 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.2672, allocations: 36.09 kB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.2688, allocations: 1.547 MB / 1.075 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.2691, allocations: 0.6967 MB / 1.076 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.478e-05/0.2691, allocations: 21 kB / 1.076 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.2692, allocations: 27.42 kB / 1.076 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2692, allocations: 0 / 1.076 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.2905, allocations: 3.095 MB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.218/9.509, allocations: 10.58 kB / 1.079 GB, free: 14.22 MB / 0.8419 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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