Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_11_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.003953/0.003953, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001057/0.001057, allocations: 195.7 kB / 16.68 MB, free: 5.969 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.412/2.412, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 67.89 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6455/0.6472, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002264/0.6495, allocations: 1.638 MB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006096/0.6501, allocations: 462.9 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.223e-05/0.6501, allocations: 4 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.678e-05/0.6502, allocations: 15.86 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.523e-05/0.6503, allocations: 43.62 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.6504, allocations: 31.89 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.6506, allocations: 139.4 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.985e-05/0.6507, allocations: 35.97 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.6508, allocations: 67.72 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.7e-05/0.6509, allocations: 51.77 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.6509, allocations: 8 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.393e-05/0.6509, allocations: 16 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.6509, allocations: 19.91 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.205e-05/0.651, allocations: 55.73 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.6511, allocations: 103.3 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.6512, allocations: 0 / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.11e-07/0.6512, allocations: 0 / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.6512, allocations: 0 / 1.223 GB, free: 15.36 MB / 0.9512 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.0004215/0.6516, allocations: 407 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.49e-05/0.6516, allocations: 16.03 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.6517, allocations: 34.75 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.6517, allocations: 20.84 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.6519, allocations: 204.2 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.6519, allocations: 4.375 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.6519, allocations: 12.31 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.652, allocations: 72.84 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.6521, allocations: 0 / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.6521, allocations: 4 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.6521, allocations: 4 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.208e-05/0.6521, allocations: 39.92 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.6527, allocations: 487.3 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.6529, allocations: 151.7 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.653, allocations: 28.89 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/0.653, allocations: 96 / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.653, allocations: 34.55 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 3.467e-06/0.653, allocations: 0 / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004468/0.6535, allocations: 199.4 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.6535, allocations: 59.41 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.6537, allocations: 160.7 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.6537, allocations: 25.7 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.6538, allocations: 108 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.6538, allocations: 15.91 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.6538, allocations: 21.7 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6539, allocations: 318.8 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/0.654, allocations: 11.98 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.822e-05/0.654, allocations: 42.52 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.444e-05/0.6541, allocations: 36.84 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.6541, allocations: 0 / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001912/0.6543, allocations: 94.42 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.6543, allocations: 10.12 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-06/0.6543, allocations: 0 / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.6544, allocations: 24.84 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.201e-05/0.6545, allocations: 8.031 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.6556, allocations: 1.415 MB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.6557, allocations: 11.97 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.6557, allocations: 0 / 1.227 GB, free: 10.88 MB / 0.9512 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.044e-05/0.6558, allocations: 117.8 kB / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.6558, allocations: 7.953 kB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.6558, allocations: 20.28 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.6558, allocations: 0 / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6559, allocations: 7.922 kB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.6559, allocations: 0 / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.6563, allocations: 359.3 kB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6563, allocations: 0 / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.6563, allocations: 4 kB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.571e-05/0.6564, allocations: 24.83 kB / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.6564, allocations: 4 kB / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009784/0.6574, allocations: 1.406 MB / 1.229 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6574, allocations: 3.938 kB / 1.229 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.6576, allocations: 172.3 kB / 1.229 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.6577, allocations: 97 kB / 1.229 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.6577, allocations: 7.875 kB / 1.229 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.858e-05/0.6578, allocations: 8.094 kB / 1.229 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.6578, allocations: 0 / 1.229 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.6578, allocations: 0 / 1.229 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.846e-05/0.6579, allocations: 123.2 kB / 1.229 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6579, allocations: 0 / 1.229 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002366/0.6581, allocations: 32 kB / 1.229 GB, free: 8.262 MB / 0.9512 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.0004736/0.6586, allocations: 0.7216 MB / 1.23 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002832/0.6589, allocations: 150.7 kB / 1.23 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.6589, allocations: 0 / 1.23 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.6591, allocations: 134.7 kB / 1.23 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.6594, allocations: 28.11 kB / 1.23 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.6609, allocations: 1.57 MB / 1.232 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.6612, allocations: 0.7006 MB / 1.232 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.601e-05/0.6612, allocations: 8.875 kB / 1.232 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.6613, allocations: 19.44 kB / 1.232 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.6613, allocations: 0 / 1.232 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.722/5.383, allocations: 3.166 MB / 1.235 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/19.58, allocations: 12.52 kB / 1.235 GB, free: 1.73 MB / 0.9512 GB (rm -f Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches