Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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.001294/0.001294, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001412/0.001412, allocations: 215.7 kB / 23.03 MB, free: 4.918 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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.036/3.036, allocations: 0.49 GB / 0.7959 GB, free: 35.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.InfraredRadiationExchange,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",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.001909/0.001909, allocations: 71.42 kB / 1.155 GB, free: 25.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3218, allocations: 176.1 MB / 1.327 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008002/0.3298, allocations: 6.39 MB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007728/0.3376, allocations: 5.065 MB / 1.338 GB, free: 5.844 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.3387, allocations: 75.44 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004294/0.343, allocations: 1.578 MB / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.3447, allocations: 0.6321 MB / 1.34 GB, free: 3.547 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.3459, allocations: 405.1 kB / 1.341 GB, free: 3.152 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003427/0.3494, allocations: 3.008 MB / 1.343 GB, free: 144 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000485/0.3498, allocations: 222.5 kB / 1.344 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.3516, allocations: 1.137 MB / 1.345 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002202/0.3538, allocations: 1.686 MB / 1.346 GB, free: 13.06 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004602/0.3542, allocations: 196 kB / 1.347 GB, free: 12.87 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007996/0.355, allocations: 327.8 kB / 1.347 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007105/0.3558, allocations: 0.7087 MB / 1.348 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.357, allocations: 0.9681 MB / 1.349 GB, free: 10.87 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003789/0.3608, allocations: 3.713 MB / 1.352 GB, free: 7.141 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.3608, allocations: 3.984 kB / 1.352 GB, free: 7.137 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3608, allocations: 0 / 1.352 GB, free: 7.137 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.417e-05/0.3609, allocations: 0 / 1.352 GB, free: 7.137 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.006775/0.3676, allocations: 3.478 MB / 1.356 GB, free: 3.609 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.3677, allocations: 12.03 kB / 1.356 GB, free: 3.598 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.503e-05/0.3677, allocations: 13.19 kB / 1.356 GB, free: 3.586 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.3678, allocations: 82.72 kB / 1.356 GB, free: 3.496 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004323/0.3683, allocations: 255.3 kB / 1.356 GB, free: 3.246 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003344/0.3716, allocations: 1.925 MB / 1.358 GB, free: 1.262 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.62e-05/0.3717, allocations: 65 kB / 1.358 GB, free: 1.199 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/0.3719, allocations: 84 kB / 1.358 GB, free: 1.117 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.373, allocations: 0.7168 MB / 1.359 GB, free: 408 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.373, allocations: 4 kB / 1.359 GB, free: 404 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/0.373, allocations: 15.94 kB / 1.359 GB, free: 388 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.373, allocations: 12 kB / 1.359 GB, free: 376 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.3745, allocations: 0.9876 MB / 1.36 GB, free: 15.37 MB / 1.061 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.009509/0.384, allocations: 3.727 MB / 1.363 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.3853, allocations: 0.7373 MB / 1.364 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006181/0.3859, allocations: 473.2 kB / 1.364 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.386, allocations: 7.938 kB / 1.364 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.386, allocations: 38.56 kB / 1.364 GB, free: 10.33 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 3.336e-06/0.386, allocations: 0 / 1.364 GB, free: 10.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.009263/0.3953, allocations: 3.383 MB / 1.368 GB, free: 6.938 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.3953, allocations: 63.28 kB / 1.368 GB, free: 6.863 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00458/0.3999, allocations: 2.945 MB / 1.371 GB, free: 3.906 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003257/0.4002, allocations: 53.7 kB / 1.371 GB, free: 3.848 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.4013, allocations: 0.8557 MB / 1.372 GB, free: 2.984 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.4015, allocations: 170.6 kB / 1.372 GB, free: 2.816 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008923/0.4024, allocations: 335.5 kB / 1.372 GB, free: 2.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.4025, allocations: 365.9 kB / 1.372 GB, free: 2.117 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.4045, allocations: 1.37 MB / 1.374 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002376/0.4068, allocations: 1.846 MB / 1.376 GB, free: 14.83 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/0.4095, allocations: 1.922 MB / 1.377 GB, free: 12.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.4095, allocations: 0 / 1.377 GB, free: 12.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007329/0.4168, allocations: 4.079 MB / 1.381 GB, free: 8.805 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.4169, allocations: 8 kB / 1.381 GB, free: 8.797 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4169, allocations: 0 / 1.381 GB, free: 8.797 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003165/0.42, allocations: 1.101 MB / 1.383 GB, free: 7.691 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.4212, allocations: 231.7 kB / 1.383 GB, free: 7.465 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.4334, allocations: 7.746 MB / 1.39 GB, free: 15.6 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.4354, allocations: 270.5 kB / 1.391 GB, free: 15.34 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003322/0.4358, allocations: 47.98 kB / 1.391 GB, free: 15.29 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (126): * Single equations (assignments): 125 * 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 {(11,31,46.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001467/0.4372, allocations: 0.7993 MB / 1.391 GB, free: 14.48 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005248/0.4378, allocations: 222.5 kB / 1.392 GB, free: 14.26 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006305/0.4384, allocations: 254.7 kB / 1.392 GB, free: 14.01 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.4384, allocations: 8 kB / 1.392 GB, free: 14 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.794e-05/0.4384, allocations: 8 kB / 1.392 GB, free: 13.99 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4384, allocations: 3.984 kB / 1.392 GB, free: 13.99 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.4405, allocations: 1.044 MB / 1.393 GB, free: 12.9 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.4405, allocations: 0 / 1.393 GB, free: 12.9 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.4405, allocations: 11.92 kB / 1.393 GB, free: 12.89 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002932/0.4435, allocations: 1.015 MB / 1.394 GB, free: 11.87 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.4435, allocations: 8 kB / 1.394 GB, free: 11.86 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/0.4555, allocations: 7.74 MB / 1.401 GB, free: 4 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4555, allocations: 0 / 1.401 GB, free: 4 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00382/0.4594, allocations: 1.94 MB / 1.403 GB, free: 2.039 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.4604, allocations: 382.3 kB / 1.404 GB, free: 1.664 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004537/0.4608, allocations: 8.094 kB / 1.404 GB, free: 1.656 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007872/0.4616, allocations: 35.84 kB / 1.404 GB, free: 1.621 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.4618, allocations: 39.92 kB / 1.404 GB, free: 1.582 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.4618, allocations: 8 kB / 1.404 GB, free: 1.574 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003737/0.4656, allocations: 2.04 MB / 1.406 GB, free: 15.53 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.4656, allocations: 0 / 1.406 GB, free: 15.53 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001987/0.4676, allocations: 0.613 MB / 1.406 GB, free: 14.91 MB / 1.107 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 {(13,29,43.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004553/0.4721, allocations: 2.558 MB / 1.409 GB, free: 12.34 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005274/0.4774, allocations: 2.53 MB / 1.411 GB, free: 9.793 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4774, allocations: 0 / 1.411 GB, free: 9.793 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002285/0.4797, allocations: 1.023 MB / 1.412 GB, free: 8.754 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/0.4829, allocations: 0.663 MB / 1.413 GB, free: 8.102 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04438/0.5273, allocations: 25.24 MB / 1.438 GB, free: 14.64 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/0.5293, allocations: 1.331 MB / 1.439 GB, free: 13.27 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001164/0.5305, allocations: 329.8 kB / 1.439 GB, free: 12.95 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/0.5317, allocations: 0.7063 MB / 1.44 GB, free: 12.24 MB / 1.139 GB Notification: Performance of SimCode: time 1.302e-06/0.5317, allocations: 0 / 1.44 GB, free: 12.24 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/0.6444, allocations: 66.37 MB / 1.505 GB, free: 10.85 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/16.24, allocations: 8 kB / 1.505 GB, free: 10.84 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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: 22.978181688929908]