Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002489/0.002489, allocations: 216.5 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.222/3.222, allocations: 0.49 GB / 0.7959 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 65.81 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.37, allocations: 176.1 MB / 1.327 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.003036/0.373, allocations: 1.669 MB / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.374, allocations: 0.5065 MB / 1.329 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.3741, allocations: 3.938 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.15e-05/0.3741, allocations: 11.86 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.3743, allocations: 51.67 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.3745, allocations: 27.91 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.3746, allocations: 135.4 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3748, allocations: 31.91 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.375, allocations: 67.78 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.3751, allocations: 47.83 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.3751, allocations: 8 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.18e-05/0.3751, allocations: 11.94 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.3752, allocations: 27.91 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.3752, allocations: 51.72 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.3754, allocations: 111.8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3754, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3754, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.3754, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 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.000567/0.376, allocations: 333.9 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.376, allocations: 12.03 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.265e-05/0.376, allocations: 192 / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.3761, allocations: 42.73 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.3761, allocations: 8.891 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.3764, allocations: 146.3 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.3764, allocations: 8.375 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.3764, allocations: 8.375 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.3765, allocations: 73.61 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3766, allocations: 0 / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.3766, allocations: 8 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.3766, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.523e-05/0.3767, allocations: 35.92 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007697/0.3774, allocations: 458.5 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.3777, allocations: 70.56 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.3778, allocations: 24.94 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.3778, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3778, allocations: 34.56 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3778, allocations: 0 / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000514/0.3783, allocations: 122.5 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.3784, allocations: 55.41 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.3785, allocations: 165 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.3785, allocations: 29.7 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.3786, allocations: 112 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.3786, allocations: 11.84 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.3787, allocations: 29.7 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3788, allocations: 318.8 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.274e-05/0.3789, allocations: 16 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.547e-05/0.3789, allocations: 30.58 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.571e-05/0.379, allocations: 36.84 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.379, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002372/0.3792, allocations: 110.4 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3792, allocations: 8 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.3792, allocations: 0 / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/0.3794, allocations: 20.84 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.845e-05/0.3795, allocations: 11.98 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.3807, allocations: 1.295 MB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.3809, allocations: 7.969 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.3809, allocations: 4.156 kB / 1.333 GB, free: 11.29 MB / 1.029 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 0.0001095/0.381, allocations: 118.4 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.381, allocations: 11.91 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.381, allocations: 16.33 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.381, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.381, allocations: 3.938 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.381, allocations: 192 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.3815, allocations: 330.4 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3815, allocations: 4 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.3815, allocations: 4 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.85e-05/0.3816, allocations: 28.83 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.3816, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.3828, allocations: 1.295 MB / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3828, allocations: 3.938 kB / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.383, allocations: 184.4 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.3831, allocations: 11.94 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.3831, allocations: 3.938 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.802e-05/0.3832, allocations: 0 / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.3832, allocations: 8 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.3832, allocations: 3.938 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000113/0.3833, allocations: 121.3 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3833, allocations: 0 / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002763/0.3836, allocations: 36 kB / 1.335 GB, free: 8.934 MB / 1.029 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.0005686/0.3841, allocations: 0.7209 MB / 1.336 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003761/0.3845, allocations: 154.7 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3845, allocations: 3.938 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.3847, allocations: 130.7 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.3851, allocations: 29.31 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.387, allocations: 1.578 MB / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.3873, allocations: 0.6928 MB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.631e-05/0.3874, allocations: 12.97 kB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.3875, allocations: 27.44 kB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3875, allocations: 0 / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.4258, allocations: 3.263 MB / 1.341 GB, free: 2.324 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.69, allocations: 4 kB / 1.341 GB, free: 2.32 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.608575956022833]