Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.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.001537/0.001537, allocations: 113.5 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.00186/0.00186, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.07/3.07, allocations: 0.49 GB / 0.7959 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",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.001945/0.001945, allocations: 60.38 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3336, allocations: 176.1 MB / 1.327 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.009389/0.343, allocations: 7.939 MB / 1.335 GB, free: 9.914 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008232/0.3512, allocations: 5.437 MB / 1.34 GB, free: 4.457 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.3527, allocations: 79.44 kB / 1.34 GB, free: 4.379 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004859/0.3576, allocations: 1.753 MB / 1.342 GB, free: 2.617 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.3598, allocations: 0.6708 MB / 1.342 GB, free: 1.941 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.3608, allocations: 319.4 kB / 1.343 GB, free: 1.629 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003056/0.3639, allocations: 2.061 MB / 1.345 GB, free: 15.56 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005943/0.3645, allocations: 305 kB / 1.345 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.3657, allocations: 0.805 MB / 1.346 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.367, allocations: 0.898 MB / 1.347 GB, free: 13.53 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.3672, allocations: 92 kB / 1.347 GB, free: 13.44 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005887/0.3678, allocations: 231.7 kB / 1.347 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003553/0.3682, allocations: 378.3 kB / 1.347 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009378/0.3691, allocations: 0.8816 MB / 1.348 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003072/0.3722, allocations: 2.645 MB / 1.351 GB, free: 9.297 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3722, allocations: 0 / 1.351 GB, free: 9.297 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3722, allocations: 0 / 1.351 GB, free: 9.297 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.737e-05/0.3722, allocations: 0 / 1.351 GB, free: 9.297 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.003609/0.3758, allocations: 2.412 MB / 1.353 GB, free: 6.836 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.3759, allocations: 12.03 kB / 1.353 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.433e-05/0.3759, allocations: 13.19 kB / 1.353 GB, free: 6.812 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.792e-05/0.376, allocations: 90.7 kB / 1.353 GB, free: 6.715 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.3763, allocations: 231.4 kB / 1.353 GB, free: 6.488 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/0.3791, allocations: 1.642 MB / 1.355 GB, free: 4.785 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/0.3792, allocations: 41 kB / 1.355 GB, free: 4.746 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.3793, allocations: 52 kB / 1.355 GB, free: 4.695 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008806/0.3801, allocations: 0.5568 MB / 1.356 GB, free: 4.133 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3802, allocations: 0 / 1.356 GB, free: 4.133 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.3802, allocations: 24 kB / 1.356 GB, free: 4.109 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.3802, allocations: 12 kB / 1.356 GB, free: 4.098 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007486/0.381, allocations: 0.4957 MB / 1.356 GB, free: 3.602 MB / 1.045 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004745/0.3857, allocations: 3.192 MB / 1.359 GB, free: 172 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.3858, allocations: 58.47 kB / 1.359 GB, free: 104 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.65e-05/0.3859, allocations: 44.88 kB / 1.359 GB, free: 56 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.3859, allocations: 0 / 1.359 GB, free: 56 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3859, allocations: 42.55 kB / 1.359 GB, free: 4 kB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.3859, allocations: 4 kB / 1.359 GB, free: 0 / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0006619/0.3866, allocations: 364.2 kB / 1.36 GB, free: 15.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3866, allocations: 55.34 kB / 1.36 GB, free: 15.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003791/0.3904, allocations: 2.931 MB / 1.363 GB, free: 12.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.3905, allocations: 25.7 kB / 1.363 GB, free: 12.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008964/0.3914, allocations: 0.9435 MB / 1.364 GB, free: 11.64 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.3914, allocations: 11.98 kB / 1.364 GB, free: 11.63 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.3916, allocations: 114 kB / 1.364 GB, free: 11.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3917, allocations: 338 kB / 1.364 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.3919, allocations: 148.9 kB / 1.364 GB, free: 11.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.3924, allocations: 476.6 kB / 1.365 GB, free: 10.42 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/0.3931, allocations: 0.5942 MB / 1.365 GB, free: 9.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.3931, allocations: 4 kB / 1.365 GB, free: 9.676 MB / 1.061 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001249/0.3943, allocations: 0.7729 MB / 1.366 GB, free: 8.895 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.3943, allocations: 11.98 kB / 1.366 GB, free: 8.883 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.3944, allocations: 12.91 kB / 1.366 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.153e-05/0.3944, allocations: 16 kB / 1.366 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.3947, allocations: 107.8 kB / 1.366 GB, free: 8.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/0.3947, allocations: 23.91 kB / 1.366 GB, free: 8.727 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000689/0.3954, allocations: 91.3 kB / 1.366 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.3955, allocations: 28 kB / 1.366 GB, free: 8.609 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009442/0.3964, allocations: 0.743 MB / 1.367 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/0.3966, allocations: 218.5 kB / 1.367 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.397, allocations: 223.7 kB / 1.367 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.397, allocations: 0 / 1.367 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.397, allocations: 0 / 1.367 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.397, allocations: 0 / 1.367 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.398, allocations: 0.9109 MB / 1.368 GB, free: 6.461 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.398, allocations: 0 / 1.368 GB, free: 6.461 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.3981, allocations: 4 kB / 1.368 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3981, allocations: 0 / 1.368 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3981, allocations: 0 / 1.368 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3981, allocations: 4 kB / 1.368 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3981, allocations: 0 / 1.368 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.3986, allocations: 434.3 kB / 1.369 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/0.3991, allocations: 306.5 kB / 1.369 GB, free: 5.711 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.3993, allocations: 0 / 1.369 GB, free: 5.711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.3996, allocations: 4 kB / 1.369 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.3996, allocations: 4 kB / 1.369 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.3996, allocations: 4.031 kB / 1.369 GB, free: 5.699 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002754/0.4024, allocations: 2.066 MB / 1.371 GB, free: 3.625 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4024, allocations: 0 / 1.371 GB, free: 3.625 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008517/0.4032, allocations: 243.8 kB / 1.371 GB, free: 3.387 MB / 1.061 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001092/0.4043, allocations: 1.022 MB / 1.372 GB, free: 2.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005339/0.4048, allocations: 313.9 kB / 1.373 GB, free: 2.035 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4048, allocations: 0 / 1.373 GB, free: 2.035 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.658e-05/0.4049, allocations: 39.95 kB / 1.373 GB, free: 1.996 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.4074, allocations: 0.7095 MB / 1.373 GB, free: 1.301 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/0.4304, allocations: 16.31 MB / 1.389 GB, free: 0.5195 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/0.4319, allocations: 1.804 MB / 1.391 GB, free: 14.68 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009212/0.4328, allocations: 309.4 kB / 1.391 GB, free: 14.37 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008114/0.4336, allocations: 0.6828 MB / 1.392 GB, free: 13.69 MB / 1.092 GB Notification: Performance of SimCode: time 1.052e-06/0.4336, allocations: 0 / 1.392 GB, free: 13.69 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08461/0.5182, allocations: 44.6 MB / 1.435 GB, free: 1.703 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.57, allocations: 13.48 kB / 1.435 GB, free: 1.695 MB / 1.123 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.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: 21.30951103195548]