Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001347/0.001347, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001492/0.001492, allocations: 213.7 kB / 22.25 MB, free: 5.262 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.203/3.203, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_latest_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.002012/0.002012, allocations: 68.64 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3451, allocations: 181.9 MB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.009068/0.3542, allocations: 6.94 MB / 1.37 GB, free: 7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00805/0.3622, allocations: 4.9 MB / 1.375 GB, free: 2.082 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.3636, allocations: 75.44 kB / 1.375 GB, free: 2.008 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004624/0.3682, allocations: 1.609 MB / 1.377 GB, free: 400 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.3702, allocations: 0.6748 MB / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009884/0.3712, allocations: 307.5 kB / 1.378 GB, free: 15.41 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002849/0.374, allocations: 2.062 MB / 1.38 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007036/0.3747, allocations: 309 kB / 1.38 GB, free: 13.02 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.3762, allocations: 0.8207 MB / 1.381 GB, free: 12.19 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.3777, allocations: 0.8941 MB / 1.382 GB, free: 11.29 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002624/0.378, allocations: 92 kB / 1.382 GB, free: 11.2 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007087/0.3787, allocations: 219.7 kB / 1.382 GB, free: 10.99 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003667/0.3791, allocations: 366.4 kB / 1.382 GB, free: 10.63 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007748/0.3798, allocations: 0.6524 MB / 1.383 GB, free: 9.973 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002862/0.3827, allocations: 2.669 MB / 1.386 GB, free: 7.293 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3827, allocations: 0 / 1.386 GB, free: 7.293 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3827, allocations: 0 / 1.386 GB, free: 7.293 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.465e-05/0.3827, allocations: 0 / 1.386 GB, free: 7.293 MB / 1.076 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.003715/0.3865, allocations: 2.407 MB / 1.388 GB, free: 4.836 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3865, allocations: 8.031 kB / 1.388 GB, free: 4.828 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.3866, allocations: 94.7 kB / 1.388 GB, free: 4.727 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002992/0.3869, allocations: 223.5 kB / 1.388 GB, free: 4.508 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003059/0.39, allocations: 1.658 MB / 1.39 GB, free: 2.789 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.39, allocations: 37 kB / 1.39 GB, free: 2.754 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-05/0.3901, allocations: 48 kB / 1.39 GB, free: 2.707 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008991/0.391, allocations: 0.5568 MB / 1.39 GB, free: 2.148 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.391, allocations: 0 / 1.39 GB, free: 2.148 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.3911, allocations: 20 kB / 1.39 GB, free: 2.129 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.3911, allocations: 16 kB / 1.39 GB, free: 2.113 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007841/0.3919, allocations: 0.4917 MB / 1.391 GB, free: 1.617 MB / 1.076 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.004522/0.3964, allocations: 2.519 MB / 1.393 GB, free: 14.99 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.3965, allocations: 54.55 kB / 1.393 GB, free: 14.93 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.444e-05/0.3966, allocations: 48.81 kB / 1.393 GB, free: 14.88 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.3966, allocations: 3.984 kB / 1.394 GB, free: 14.87 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.3966, allocations: 38.56 kB / 1.394 GB, free: 14.82 MB / 1.092 GB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/0.3966, allocations: 0 / 1.394 GB, free: 14.82 MB / 1.092 GB Notification: Performance of matching and sorting (n=1): time 0.0006119/0.3972, allocations: 372.1 kB / 1.394 GB, free: 14.45 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.3973, allocations: 51.41 kB / 1.394 GB, free: 14.39 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003942/0.4012, allocations: 2.947 MB / 1.397 GB, free: 11.43 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.4012, allocations: 25.7 kB / 1.397 GB, free: 11.4 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000957/0.4022, allocations: 0.9435 MB / 1.398 GB, free: 10.45 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.4022, allocations: 15.89 kB / 1.398 GB, free: 10.43 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.4024, allocations: 118 kB / 1.398 GB, free: 10.31 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4026, allocations: 329.9 kB / 1.398 GB, free: 9.984 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.4028, allocations: 160.9 kB / 1.398 GB, free: 9.828 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.4033, allocations: 498.3 kB / 1.399 GB, free: 9.184 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006916/0.404, allocations: 0.602 MB / 1.399 GB, free: 8.434 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.404, allocations: 0 / 1.399 GB, free: 8.434 MB / 1.092 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001198/0.4052, allocations: 0.7698 MB / 1.4 GB, free: 7.656 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4052, allocations: 8.188 kB / 1.4 GB, free: 7.648 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.4052, allocations: 16 kB / 1.4 GB, free: 7.633 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.4053, allocations: 12 kB / 1.4 GB, free: 7.621 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.4056, allocations: 111.8 kB / 1.4 GB, free: 7.512 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/0.4056, allocations: 15.94 kB / 1.4 GB, free: 7.496 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/0.4063, allocations: 99.23 kB / 1.4 GB, free: 7.398 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.4064, allocations: 28 kB / 1.4 GB, free: 7.371 MB / 1.092 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.0009263/0.4073, allocations: 0.7391 MB / 1.401 GB, free: 6.621 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.4075, allocations: 214.6 kB / 1.401 GB, free: 6.41 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/0.4079, allocations: 219.7 kB / 1.402 GB, free: 6.188 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4079, allocations: 0 / 1.402 GB, free: 6.188 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4079, allocations: 0 / 1.402 GB, free: 6.188 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4079, allocations: 4 kB / 1.402 GB, free: 6.184 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.4091, allocations: 0.8174 MB / 1.402 GB, free: 5.324 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4091, allocations: 0 / 1.402 GB, free: 5.324 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/0.4091, allocations: 0 / 1.402 GB, free: 5.324 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4091, allocations: 0 / 1.402 GB, free: 5.324 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.4092, allocations: 8 kB / 1.402 GB, free: 5.316 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.365e-06/0.4092, allocations: 3.984 kB / 1.402 GB, free: 5.312 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4092, allocations: 0 / 1.402 GB, free: 5.312 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/0.4096, allocations: 434.3 kB / 1.403 GB, free: 4.871 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007078/0.4103, allocations: 306.4 kB / 1.403 GB, free: 4.57 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.4106, allocations: 0 / 1.403 GB, free: 4.57 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.4109, allocations: 0 / 1.403 GB, free: 4.57 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.411, allocations: 4 kB / 1.403 GB, free: 4.566 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.411, allocations: 0 / 1.403 GB, free: 4.566 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003196/0.4142, allocations: 2.066 MB / 1.405 GB, free: 2.492 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.4142, allocations: 4.031 kB / 1.405 GB, free: 2.488 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008468/0.415, allocations: 243.9 kB / 1.405 GB, free: 2.25 MB / 1.092 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.001191/0.4162, allocations: 1.031 MB / 1.406 GB, free: 1.195 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005693/0.4168, allocations: 300.4 kB / 1.407 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4168, allocations: 1.938 kB / 1.407 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.4168, allocations: 43.91 kB / 1.407 GB, free: 0.8594 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/0.4194, allocations: 0.719 MB / 1.407 GB, free: 160 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/0.4462, allocations: 16.3 MB / 1.423 GB, free: 15.39 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001801/0.448, allocations: 1.219 MB / 1.425 GB, free: 14.13 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001021/0.449, allocations: 309.4 kB / 1.425 GB, free: 13.82 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009539/0.45, allocations: 0.6828 MB / 1.425 GB, free: 13.14 MB / 1.123 GB Notification: Performance of SimCode: time 1.513e-06/0.45, allocations: 4 kB / 1.425 GB, free: 13.13 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09622/0.5462, allocations: 47.8 MB / 1.472 GB, free: 14.11 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.57, allocations: 0 / 1.472 GB, free: 14.11 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.29219677997753]