Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_10_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.008345/0.008345, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001609/0.00161, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.48/2.48, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 1.018 GB, free: 9.969 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.912/0.9133, allocations: 151.6 MB / 1.166 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.004092/0.9175, allocations: 1.64 MB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009527/0.9185, allocations: 478.8 kB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.9186, allocations: 4 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.924e-05/0.9187, allocations: 11.86 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.9189, allocations: 47.62 kB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.9192, allocations: 35.83 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.9194, allocations: 143.4 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.9196, allocations: 27.98 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.9198, allocations: 63.72 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.9199, allocations: 59.75 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.92, allocations: 8 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.233e-05/0.92, allocations: 8 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.92, allocations: 15.92 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.771e-05/0.9201, allocations: 51.73 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.9203, allocations: 105.9 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.9203, allocations: 0 / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.326e-06/0.9203, allocations: 8 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.9204, allocations: 0 / 1.169 GB, free: 1.133 MB / 0.8887 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.0006675/0.921, allocations: 403.1 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.9211, allocations: 8.922 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.631e-05/0.9211, allocations: 38.75 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.9212, allocations: 12.75 kB / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.9215, allocations: 204.1 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.9216, allocations: 4.375 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.9216, allocations: 12.38 kB / 1.169 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.9217, allocations: 73.8 kB / 1.169 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.9218, allocations: 0 / 1.169 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.9218, allocations: 4 kB / 1.169 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.9218, allocations: 11.92 kB / 1.169 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.083e-05/0.9219, allocations: 31.98 kB / 1.169 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007676/0.9227, allocations: 491.3 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.923, allocations: 147.7 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.9231, allocations: 24.86 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.9231, allocations: 0 / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.9231, allocations: 34.5 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.9231, allocations: 4.031 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0005648/0.9237, allocations: 199.5 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.9238, allocations: 51.41 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.9239, allocations: 167.8 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.924, allocations: 25.7 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.924, allocations: 108 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.9241, allocations: 23.75 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.9241, allocations: 17.72 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9242, allocations: 322.8 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.974e-05/0.9243, allocations: 15.94 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.728e-05/0.9243, allocations: 34.56 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.914e-05/0.9244, allocations: 36.8 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9244, allocations: 0 / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002142/0.9246, allocations: 102.5 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.9247, allocations: 11.98 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.9247, allocations: 0 / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001889/0.9249, allocations: 24.84 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.227e-05/0.9249, allocations: 8 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.9261, allocations: 1.398 MB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.9262, allocations: 7.938 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.9262, allocations: 4.156 kB / 1.173 GB, free: 12.66 MB / 0.9044 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.791e-05/0.9263, allocations: 117.8 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.9264, allocations: 11.91 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.9264, allocations: 12.25 kB / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.9264, allocations: 240 / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9264, allocations: 7.938 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.9264, allocations: 3.984 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.9269, allocations: 367.2 kB / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.9269, allocations: 0 / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.9269, allocations: 7.938 kB / 1.173 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.682e-05/0.927, allocations: 20.84 kB / 1.173 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.927, allocations: 0 / 1.173 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.9281, allocations: 1.398 MB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.9281, allocations: 11.92 kB / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.9283, allocations: 180.4 kB / 1.175 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.9284, allocations: 81.02 kB / 1.175 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.9284, allocations: 15.92 kB / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.9285, allocations: 0 / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.9285, allocations: 0 / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.9286, allocations: 4 kB / 1.175 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.58e-05/0.9287, allocations: 121.9 kB / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9287, allocations: 4 kB / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002684/0.9289, allocations: 32 kB / 1.175 GB, free: 10.04 MB / 0.9044 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.0005948/0.9295, allocations: 0.718 MB / 1.176 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003631/0.9299, allocations: 154.7 kB / 1.176 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9299, allocations: 0 / 1.176 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.9301, allocations: 134.7 kB / 1.176 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.9305, allocations: 35.91 kB / 1.176 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.9322, allocations: 1.569 MB / 1.178 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.9325, allocations: 0.6967 MB / 1.178 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.246e-05/0.9325, allocations: 8.891 kB / 1.178 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.9326, allocations: 27.42 kB / 1.178 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of SimCode: time 5.81e-07/0.9326, allocations: 0 / 1.178 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.9574, allocations: 3.156 MB / 1.181 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.828/10.79, allocations: 4.375 kB / 1.181 GB, free: 3.527 MB / 0.9044 GB (rm -f Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches