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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008461/0.008461, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001365/0.001365, allocations: 193.5 kB / 16.67 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.769/2.769, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 60.31 kB / 1.054 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3786, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.003512/0.3822, allocations: 1.618 MB / 1.209 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3833, allocations: 475.2 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.3834, allocations: 0 / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.518e-05/0.3835, allocations: 11.86 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.3837, allocations: 47.62 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.384, allocations: 39.95 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.3842, allocations: 143.3 kB / 1.21 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.3844, allocations: 31.97 kB / 1.21 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.3846, allocations: 63.72 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.3847, allocations: 55.77 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.3848, allocations: 8 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.651e-05/0.3848, allocations: 8 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.3849, allocations: 27.84 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.3849, allocations: 55.73 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.3852, allocations: 107.9 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3852, allocations: 0 / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3852, allocations: 0 / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.3852, allocations: 0 / 1.21 GB, free: 7.508 MB / 0.9669 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.0006345/0.3858, allocations: 410.9 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.3859, allocations: 12.62 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/0.3859, allocations: 34.75 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.386, allocations: 12.84 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.3863, allocations: 200.1 kB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3863, allocations: 4.375 kB / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.3864, allocations: 8.375 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.3865, allocations: 77.73 kB / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3866, allocations: 4 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3866, allocations: 4 kB / 1.211 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3866, allocations: 0 / 1.211 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.043e-05/0.3867, allocations: 35.98 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007215/0.3874, allocations: 483.3 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.3877, allocations: 155.7 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.969e-05/0.3878, allocations: 20.95 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.3878, allocations: 7.984 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.3878, allocations: 30.56 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3879, allocations: 0 / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0005925/0.3884, allocations: 203.3 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3885, allocations: 51.41 kB / 1.212 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3887, allocations: 162.2 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3887, allocations: 29.7 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.3888, allocations: 108 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.3888, allocations: 11.81 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.3888, allocations: 25.7 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.389, allocations: 318.8 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.147e-05/0.389, allocations: 15.98 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.784e-05/0.3891, allocations: 38.52 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.163e-05/0.3892, allocations: 36.84 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3892, allocations: 0 / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002146/0.3894, allocations: 94.38 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3894, allocations: 4 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3894, allocations: 4.031 kB / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.3896, allocations: 29.02 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.185e-05/0.3897, allocations: 4 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.3909, allocations: 1.418 MB / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.391, allocations: 11.81 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.391, allocations: 4 kB / 1.214 GB, free: 3.035 MB / 0.9669 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.0001023/0.3912, allocations: 121.9 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.3912, allocations: 7.906 kB / 1.214 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.3912, allocations: 12.25 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3912, allocations: 3.984 kB / 1.214 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.3912, allocations: 3.938 kB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3913, allocations: 0 / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.3917, allocations: 359.2 kB / 1.214 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3917, allocations: 0 / 1.214 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.3918, allocations: 8 kB / 1.214 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.874e-05/0.3919, allocations: 28.83 kB / 1.214 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.3919, allocations: 0 / 1.214 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.393, allocations: 1.399 MB / 1.216 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.393, allocations: 3.938 kB / 1.216 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.3932, allocations: 176.4 kB / 1.216 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.3933, allocations: 93 kB / 1.216 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.3933, allocations: 3.938 kB / 1.216 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.381e-05/0.3934, allocations: 3.938 kB / 1.216 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.3934, allocations: 4 kB / 1.216 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.3934, allocations: 4 kB / 1.216 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.407e-05/0.3935, allocations: 125.9 kB / 1.216 GB, free: 456 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3935, allocations: 0 / 1.216 GB, free: 456 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002761/0.3938, allocations: 35.84 kB / 1.216 GB, free: 420 kB / 0.9669 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.0005329/0.3944, allocations: 0.717 MB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003653/0.3947, allocations: 146.7 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3948, allocations: 4 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.3949, allocations: 142.8 kB / 1.217 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3953, allocations: 25.39 kB / 1.217 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.3971, allocations: 1.565 MB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.3974, allocations: 0.6966 MB / 1.219 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.32e-05/0.3974, allocations: 8.875 kB / 1.219 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.3975, allocations: 27.44 kB / 1.219 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of SimCode: time 2.324e-06/0.3975, allocations: 0 / 1.219 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.4222, allocations: 3.215 MB / 1.222 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.829/10.25, allocations: 4.156 kB / 1.222 GB, free: 9.848 MB / 0.9825 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