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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001497/0.001497, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001892/0.001892, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.571/2.571, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 71.45 kB / 0.8985 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2396, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.00267/0.2423, allocations: 1.691 MB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007421/0.243, allocations: 486.7 kB / 1.054 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.236e-05/0.2431, allocations: 0 / 1.054 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.494e-05/0.2432, allocations: 15.92 kB / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.2433, allocations: 39.69 kB / 1.054 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.2435, allocations: 19.98 kB / 1.054 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.2437, allocations: 139.3 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2438, allocations: 27.97 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.2439, allocations: 63.77 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.079e-05/0.244, allocations: 55.7 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.2441, allocations: 4 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.729e-05/0.2441, allocations: 8 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.2441, allocations: 11.92 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.172e-05/0.2442, allocations: 55.73 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.2443, allocations: 99.95 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2443, allocations: 4 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2443, allocations: 0 / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.2443, allocations: 0 / 1.055 GB, free: 5.52 MB / 0.8106 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.0005157/0.2449, allocations: 399.1 kB / 1.055 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2449, allocations: 11.97 kB / 1.055 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.2449, allocations: 38.75 kB / 1.055 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.245, allocations: 24.72 kB / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.2452, allocations: 204.1 kB / 1.055 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.2452, allocations: 384 / 1.055 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.2452, allocations: 8.375 kB / 1.055 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.2454, allocations: 73.8 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.2454, allocations: 0 / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2454, allocations: 8 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2454, allocations: 0 / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.2455, allocations: 39.92 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.2461, allocations: 487.3 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.2464, allocations: 151.7 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.2465, allocations: 24.86 kB / 1.056 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.2465, allocations: 8.109 kB / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.2465, allocations: 34.56 kB / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2465, allocations: 0 / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0005371/0.247, allocations: 199.4 kB / 1.056 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.2471, allocations: 51.41 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.2472, allocations: 164.9 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.2472, allocations: 25.7 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.2473, allocations: 119.8 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.2473, allocations: 7.906 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.2474, allocations: 25.7 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.2475, allocations: 314.8 kB / 1.057 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.089e-05/0.2475, allocations: 15.98 kB / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-05/0.2476, allocations: 34.58 kB / 1.057 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.603e-05/0.2476, allocations: 36.84 kB / 1.057 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2476, allocations: 0 / 1.057 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002163/0.2479, allocations: 106.2 kB / 1.057 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2479, allocations: 5.25 kB / 1.057 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.2479, allocations: 0 / 1.057 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.248, allocations: 20.84 kB / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.189e-05/0.2481, allocations: 8.234 kB / 1.057 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009896/0.2491, allocations: 1.308 MB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.2492, allocations: 19.92 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.2493, allocations: 0 / 1.059 GB, free: 1.156 MB / 0.8106 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.208e-05/0.2493, allocations: 117.8 kB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.2494, allocations: 15.84 kB / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.2494, allocations: 8.25 kB / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.2494, allocations: 0 / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.2494, allocations: 4 kB / 1.059 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.2494, allocations: 4 kB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.2498, allocations: 363.3 kB / 1.059 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2498, allocations: 0 / 1.059 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.2499, allocations: 4 kB / 1.059 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.713e-05/0.25, allocations: 20.84 kB / 1.059 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.25, allocations: 7.875 kB / 1.059 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008994/0.2509, allocations: 1.304 MB / 1.06 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2509, allocations: 0 / 1.06 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.2511, allocations: 196.4 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.2512, allocations: 81.02 kB / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.2512, allocations: 0 / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.697e-05/0.2513, allocations: 7.984 kB / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.2513, allocations: 0 / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.2513, allocations: 0 / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.37e-05/0.2514, allocations: 126.1 kB / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2514, allocations: 8 kB / 1.061 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002705/0.2517, allocations: 31.94 kB / 1.061 GB, free: 14.64 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.0004346/0.2521, allocations: 0.7131 MB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.2525, allocations: 158.7 kB / 1.062 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2525, allocations: 3.938 kB / 1.062 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.2527, allocations: 134.6 kB / 1.062 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.2531, allocations: 39.92 kB / 1.062 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.2546, allocations: 1.558 MB / 1.063 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.2549, allocations: 0.7009 MB / 1.064 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.461e-05/0.2549, allocations: 8.875 kB / 1.064 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.255, allocations: 27.44 kB / 1.064 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.255, allocations: 0 / 1.064 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1543/0.4093, allocations: 2.907 MB / 1.067 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.4095, allocations: 233.9 kB / 1.067 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.331, allocations: 0 / 1.067 GB, free: 8.117 MB / 0.8262 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=50 --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