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.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.001657/0.001657, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.002075/0.002075, allocations: 217 kB / 23.04 MB, free: 5.078 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.255/3.255, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_latest_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.001957/0.001957, allocations: 64.33 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3311, allocations: 179 MB / 1.345 GB, free: 480 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002884/0.334, allocations: 1.672 MB / 1.347 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008553/0.3349, allocations: 0.5065 MB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.3349, allocations: 4 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.688e-05/0.335, allocations: 15.8 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.3351, allocations: 43.62 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.3353, allocations: 39.94 kB / 1.348 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.3354, allocations: 139.3 kB / 1.348 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3356, allocations: 19.98 kB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.3358, allocations: 67.72 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.3359, allocations: 55.81 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.3359, allocations: 12 kB / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.202e-05/0.3359, allocations: 8 kB / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.336, allocations: 15.92 kB / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.336, allocations: 59.67 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.3362, allocations: 111.8 kB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3362, allocations: 0 / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3362, allocations: 0 / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.3362, allocations: 0 / 1.348 GB, free: 13.69 MB / 1.045 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.000521/0.3367, allocations: 333.9 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3368, allocations: 12.03 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.688e-05/0.3368, allocations: 4.188 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.33e-05/0.3368, allocations: 34.75 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.3368, allocations: 12.89 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.3371, allocations: 146.3 kB / 1.349 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.3371, allocations: 12.31 kB / 1.349 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.3371, allocations: 4.375 kB / 1.349 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.3373, allocations: 79.61 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3373, allocations: 0 / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.3373, allocations: 4 kB / 1.349 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3373, allocations: 0 / 1.349 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.215e-05/0.3373, allocations: 35.98 kB / 1.349 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006291/0.338, allocations: 462.4 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.3383, allocations: 70.62 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.3383, allocations: 28.94 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.3383, allocations: 3.938 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3384, allocations: 30.56 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3384, allocations: 3.938 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004984/0.3389, allocations: 118.4 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.3389, allocations: 55.41 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.3391, allocations: 158.2 kB / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.3391, allocations: 25.7 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.3391, allocations: 108 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.3392, allocations: 19.84 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.3392, allocations: 21.7 kB / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3394, allocations: 322.8 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.083e-05/0.3394, allocations: 19.86 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.609e-05/0.3394, allocations: 34.58 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.142e-05/0.3395, allocations: 36.97 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.3395, allocations: 4 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002124/0.3397, allocations: 98.36 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3397, allocations: 6.031 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3397, allocations: 0 / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001622/0.3399, allocations: 28.88 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.993e-05/0.3399, allocations: 4 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.3411, allocations: 1.299 MB / 1.351 GB, free: 9.746 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.3412, allocations: 11.95 kB / 1.351 GB, free: 9.734 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.3412, allocations: 0 / 1.351 GB, free: 9.734 MB / 1.045 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.553e-05/0.3413, allocations: 121.9 kB / 1.352 GB, free: 9.605 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.3413, allocations: 11.91 kB / 1.352 GB, free: 9.594 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.079e-05/0.3413, allocations: 12.34 kB / 1.352 GB, free: 9.582 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.3413, allocations: 0 / 1.352 GB, free: 9.582 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3413, allocations: 3.938 kB / 1.352 GB, free: 9.578 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3413, allocations: 8.219 kB / 1.352 GB, free: 9.57 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.3418, allocations: 330.4 kB / 1.352 GB, free: 9.195 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3418, allocations: 0 / 1.352 GB, free: 9.195 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.3418, allocations: 4 kB / 1.352 GB, free: 9.191 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.149e-05/0.3419, allocations: 24.84 kB / 1.352 GB, free: 9.164 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.3419, allocations: 0 / 1.352 GB, free: 9.164 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.343, allocations: 1.307 MB / 1.353 GB, free: 7.742 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.343, allocations: 7.922 kB / 1.353 GB, free: 7.734 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.3432, allocations: 176.3 kB / 1.353 GB, free: 7.543 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.3432, allocations: 12.05 kB / 1.353 GB, free: 7.531 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.3432, allocations: 11.92 kB / 1.353 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3433, allocations: 0 / 1.353 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.3434, allocations: 0 / 1.353 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.3434, allocations: 4 kB / 1.353 GB, free: 7.516 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001002/0.3435, allocations: 129.8 kB / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3435, allocations: 0 / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002816/0.3437, allocations: 31.95 kB / 1.354 GB, free: 7.359 MB / 1.045 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.0005054/0.3443, allocations: 0.7132 MB / 1.354 GB, free: 6.613 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.3446, allocations: 150.7 kB / 1.354 GB, free: 6.453 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3446, allocations: 3.938 kB / 1.354 GB, free: 6.449 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.3448, allocations: 138.7 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.3451, allocations: 27.97 kB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.3468, allocations: 1.574 MB / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.3472, allocations: 0.6967 MB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.953e-05/0.3472, allocations: 12.97 kB / 1.357 GB, free: 3.871 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.3473, allocations: 23.44 kB / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of SimCode: time 3.71e-07/0.3473, allocations: 4 kB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.3748, allocations: 3.268 MB / 1.36 GB, free: 0.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.92, allocations: 4.062 kB / 1.36 GB, free: 0.7461 MB / 1.045 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.679202387982514]