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.001875/0.001875, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002413/0.002413, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.98 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.085/3.085, allocations: 0.49 GB / 0.7951 GB, free: 33.36 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",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.003213/0.003213, allocations: 67.61 kB / 1.154 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3481, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.01056/0.3586, allocations: 7.947 MB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008968/0.3676, allocations: 5.433 MB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.3692, allocations: 71.5 kB / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005213/0.3744, allocations: 1.757 MB / 1.341 GB, free: 2.551 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.3767, allocations: 0.6748 MB / 1.341 GB, free: 1.871 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.3781, allocations: 320.6 kB / 1.342 GB, free: 1.559 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003515/0.3816, allocations: 2.064 MB / 1.344 GB, free: 15.49 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008299/0.3825, allocations: 309 kB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.384, allocations: 0.805 MB / 1.345 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.3857, allocations: 0.8902 MB / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003973/0.3861, allocations: 95.94 kB / 1.346 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008534/0.3869, allocations: 235.8 kB / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000571/0.3875, allocations: 370.3 kB / 1.346 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.389, allocations: 0.8778 MB / 1.347 GB, free: 11.89 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003872/0.3929, allocations: 2.657 MB / 1.35 GB, free: 9.219 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3929, allocations: 0 / 1.35 GB, free: 9.219 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3929, allocations: 3.938 kB / 1.35 GB, free: 9.215 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.951e-05/0.393, allocations: 0 / 1.35 GB, free: 9.215 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.00486/0.3978, allocations: 2.407 MB / 1.352 GB, free: 6.758 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3979, allocations: 8.031 kB / 1.352 GB, free: 6.75 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/0.398, allocations: 94.7 kB / 1.352 GB, free: 6.648 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004443/0.3985, allocations: 227.4 kB / 1.353 GB, free: 6.426 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003495/0.402, allocations: 1.646 MB / 1.354 GB, free: 4.719 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/0.402, allocations: 41 kB / 1.354 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/0.4021, allocations: 48 kB / 1.354 GB, free: 4.633 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009664/0.4031, allocations: 0.5529 MB / 1.355 GB, free: 4.078 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4031, allocations: 0 / 1.355 GB, free: 4.078 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/0.4031, allocations: 24 kB / 1.355 GB, free: 4.055 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.4031, allocations: 12 kB / 1.355 GB, free: 4.043 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008533/0.404, allocations: 0.4995 MB / 1.355 GB, free: 3.539 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.005576/0.4096, allocations: 3.192 MB / 1.358 GB, free: 112 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.4097, allocations: 58.55 kB / 1.358 GB, free: 44 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.087e-05/0.4098, allocations: 44.88 kB / 1.359 GB, free: 16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.4098, allocations: 0 / 1.359 GB, free: 16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.4098, allocations: 34.56 kB / 1.359 GB, free: 15.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/0.4098, allocations: 3.938 kB / 1.359 GB, free: 15.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0007429/0.4106, allocations: 364.2 kB / 1.359 GB, free: 15.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.4106, allocations: 51.41 kB / 1.359 GB, free: 15.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005012/0.4156, allocations: 2.939 MB / 1.362 GB, free: 12.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/0.4157, allocations: 29.7 kB / 1.362 GB, free: 12.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.4167, allocations: 0.9474 MB / 1.363 GB, free: 11.58 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.4168, allocations: 4 kB / 1.363 GB, free: 11.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.417, allocations: 122 kB / 1.363 GB, free: 11.45 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4171, allocations: 325.9 kB / 1.363 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.4174, allocations: 152.9 kB / 1.363 GB, free: 10.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.4179, allocations: 476.6 kB / 1.364 GB, free: 10.37 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007563/0.4187, allocations: 0.602 MB / 1.364 GB, free: 9.621 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.4187, allocations: 0 / 1.364 GB, free: 9.621 MB / 1.061 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001375/0.42, allocations: 0.7774 MB / 1.365 GB, free: 8.836 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.4201, allocations: 12 kB / 1.365 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.4201, allocations: 12 kB / 1.365 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.584e-05/0.4201, allocations: 12 kB / 1.365 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.4205, allocations: 107.8 kB / 1.365 GB, free: 8.695 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.4205, allocations: 19.94 kB / 1.365 GB, free: 8.676 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/0.4213, allocations: 91.58 kB / 1.365 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.4213, allocations: 35.98 kB / 1.365 GB, free: 8.551 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.001013/0.4223, allocations: 0.7322 MB / 1.366 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003741/0.4227, allocations: 218.5 kB / 1.366 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/0.4231, allocations: 219.7 kB / 1.367 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.4232, allocations: 0 / 1.367 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4232, allocations: 0 / 1.367 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4232, allocations: 4 kB / 1.367 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.4246, allocations: 0.9148 MB / 1.367 GB, free: 6.406 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4246, allocations: 0 / 1.367 GB, free: 6.406 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.4247, allocations: 3.938 kB / 1.367 GB, free: 6.402 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4247, allocations: 0 / 1.367 GB, free: 6.402 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4247, allocations: 0 / 1.367 GB, free: 6.402 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4247, allocations: 0 / 1.367 GB, free: 6.402 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4247, allocations: 8 kB / 1.367 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005318/0.4252, allocations: 430.3 kB / 1.368 GB, free: 5.957 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007244/0.4259, allocations: 306.5 kB / 1.368 GB, free: 5.656 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/0.4262, allocations: 4 kB / 1.368 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.4266, allocations: 0 / 1.368 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.4266, allocations: 3.984 kB / 1.368 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.4266, allocations: 0 / 1.368 GB, free: 5.648 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00335/0.43, allocations: 2.066 MB / 1.37 GB, free: 3.574 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.43, allocations: 3.938 kB / 1.37 GB, free: 3.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008913/0.4309, allocations: 239.9 kB / 1.37 GB, free: 3.336 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.001238/0.4321, allocations: 1.029 MB / 1.371 GB, free: 2.281 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000585/0.4327, allocations: 297.8 kB / 1.372 GB, free: 1.992 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4327, allocations: 0 / 1.372 GB, free: 1.992 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.4328, allocations: 43.95 kB / 1.372 GB, free: 1.949 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/0.4354, allocations: 0.7128 MB / 1.372 GB, free: 1.254 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02682/0.4623, allocations: 16.31 MB / 1.388 GB, free: 476 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/0.4643, allocations: 1.804 MB / 1.39 GB, free: 14.62 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009707/0.4653, allocations: 309.3 kB / 1.39 GB, free: 14.32 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009542/0.4663, allocations: 0.6789 MB / 1.391 GB, free: 13.64 MB / 1.092 GB Notification: Performance of SimCode: time 1.222e-06/0.4663, allocations: 0 / 1.391 GB, free: 13.64 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09745/0.5637, allocations: 44.57 MB / 1.435 GB, free: 1.66 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/14.73, allocations: 6.938 kB / 1.435 GB, free: 1.656 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.38024863996543]