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.001708/0.001708, allocations: 99.64 kB / 18.95 MB, free: 2.66 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.001783/0.001783, allocations: 219.6 kB / 22.25 MB, free: 5.254 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.359/1.359, allocations: 230.6 MB / 256 MB, free: 7.797 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 2.943/2.943, allocations: 0.49 GB / 0.7951 GB, free: 35.29 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.003168/0.003168, allocations: 73.05 kB / 1.154 GB, free: 25.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3382, allocations: 176.1 MB / 1.326 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008955/0.3471, allocations: 6.932 MB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007635/0.3547, allocations: 4.904 MB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.356, allocations: 83.38 kB / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00439/0.3604, allocations: 1.613 MB / 1.339 GB, free: 3.805 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.3623, allocations: 0.667 MB / 1.34 GB, free: 3.133 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009587/0.3632, allocations: 326 kB / 1.34 GB, free: 2.816 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00271/0.366, allocations: 2.058 MB / 1.342 GB, free: 0.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005597/0.3665, allocations: 309 kB / 1.342 GB, free: 432 kB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.3677, allocations: 0.8246 MB / 1.343 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.3689, allocations: 0.8824 MB / 1.344 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.3691, allocations: 96 kB / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005547/0.3697, allocations: 219.8 kB / 1.344 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003617/0.37, allocations: 370.3 kB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007585/0.3708, allocations: 0.6563 MB / 1.345 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002743/0.3735, allocations: 2.661 MB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3735, allocations: 3.938 kB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3735, allocations: 4 kB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.516e-05/0.3736, allocations: 0 / 1.348 GB, free: 10.7 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.003681/0.3773, allocations: 2.407 MB / 1.35 GB, free: 8.238 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3773, allocations: 8.031 kB / 1.35 GB, free: 8.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.3774, allocations: 90.7 kB / 1.35 GB, free: 8.133 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/0.3777, allocations: 231.4 kB / 1.351 GB, free: 7.906 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002941/0.3806, allocations: 1.654 MB / 1.352 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.3807, allocations: 37 kB / 1.352 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.3808, allocations: 52 kB / 1.352 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008775/0.3816, allocations: 0.5568 MB / 1.353 GB, free: 5.543 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3817, allocations: 4 kB / 1.353 GB, free: 5.539 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.3817, allocations: 20 kB / 1.353 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.3817, allocations: 12 kB / 1.353 GB, free: 5.508 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007347/0.3824, allocations: 0.4957 MB / 1.353 GB, free: 5.012 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.004216/0.3867, allocations: 2.511 MB / 1.356 GB, free: 2.387 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3868, allocations: 58.53 kB / 1.356 GB, free: 2.32 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.611e-05/0.3868, allocations: 44.88 kB / 1.356 GB, free: 2.273 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.3869, allocations: 4 kB / 1.356 GB, free: 2.27 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3869, allocations: 34.56 kB / 1.356 GB, free: 2.227 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 2.124e-06/0.3869, allocations: 0 / 1.356 GB, free: 2.227 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0005662/0.3875, allocations: 364.1 kB / 1.356 GB, free: 1.863 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.3875, allocations: 51.41 kB / 1.356 GB, free: 1.801 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003714/0.3912, allocations: 2.95 MB / 1.359 GB, free: 14.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.3912, allocations: 29.7 kB / 1.359 GB, free: 14.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008954/0.3921, allocations: 0.9435 MB / 1.36 GB, free: 13.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.3922, allocations: 15.91 kB / 1.36 GB, free: 13.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.3923, allocations: 118 kB / 1.36 GB, free: 13.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3925, allocations: 334 kB / 1.361 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.3927, allocations: 152.9 kB / 1.361 GB, free: 13.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/0.3932, allocations: 494.3 kB / 1.361 GB, free: 12.6 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006462/0.3938, allocations: 0.5981 MB / 1.362 GB, free: 11.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.3938, allocations: 11.94 kB / 1.362 GB, free: 11.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001123/0.3949, allocations: 0.7738 MB / 1.363 GB, free: 11.06 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.395, allocations: 12 kB / 1.363 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.395, allocations: 8 kB / 1.363 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/0.395, allocations: 19.98 kB / 1.363 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.3953, allocations: 99.84 kB / 1.363 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.388e-05/0.3953, allocations: 23.92 kB / 1.363 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006533/0.396, allocations: 95.27 kB / 1.363 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.396, allocations: 28 kB / 1.363 GB, free: 10.78 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.0008329/0.3969, allocations: 0.7354 MB / 1.364 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.3971, allocations: 218.5 kB / 1.364 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.3974, allocations: 219.7 kB / 1.364 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3974, allocations: 3.984 kB / 1.364 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3974, allocations: 4 kB / 1.364 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.3974, allocations: 0 / 1.364 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.3984, allocations: 0.8213 MB / 1.365 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3984, allocations: 4 kB / 1.365 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.3985, allocations: 4 kB / 1.365 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3985, allocations: 3.938 kB / 1.365 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3985, allocations: 0 / 1.365 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3985, allocations: 3.938 kB / 1.365 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3985, allocations: 0 / 1.365 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.3989, allocations: 434.3 kB / 1.365 GB, free: 8.266 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006434/0.3996, allocations: 306.4 kB / 1.366 GB, free: 7.965 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.3998, allocations: 4 kB / 1.366 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.4001, allocations: 0 / 1.366 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.977e-05/0.4001, allocations: 3.984 kB / 1.366 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.4001, allocations: 4.031 kB / 1.366 GB, free: 7.953 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002639/0.4028, allocations: 2.066 MB / 1.368 GB, free: 5.879 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4028, allocations: 0 / 1.368 GB, free: 5.879 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000783/0.4036, allocations: 239.9 kB / 1.368 GB, free: 5.645 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.00107/0.4046, allocations: 1.032 MB / 1.369 GB, free: 4.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004882/0.4051, allocations: 293.7 kB / 1.369 GB, free: 4.305 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4051, allocations: 0 / 1.369 GB, free: 4.305 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.202e-05/0.4052, allocations: 44.58 kB / 1.369 GB, free: 4.262 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/0.4075, allocations: 0.7097 MB / 1.37 GB, free: 3.566 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0222/0.4297, allocations: 16.3 MB / 1.386 GB, free: 2.797 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.431, allocations: 1.226 MB / 1.387 GB, free: 1.531 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008879/0.4319, allocations: 313.4 kB / 1.387 GB, free: 1.219 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007911/0.4327, allocations: 0.675 MB / 1.388 GB, free: 0.543 MB / 1.076 GB Notification: Performance of SimCode: time 1.052e-06/0.4327, allocations: 0 / 1.388 GB, free: 0.543 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08942/0.5221, allocations: 47.98 MB / 1.435 GB, free: 1.379 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.3, allocations: 19.61 kB / 1.435 GB, free: 1.363 MB / 1.123 GB " [Timeout remaining time 287] (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: 19.61170136797591]