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.00173/0.00173, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.00197/0.00197, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.415/1.415, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.852/2.852, allocations: 0.49 GB / 0.7923 GB, free: 1.445 MB / 0.6231 GB " [Timeout remaining time 176] 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.002127/0.002127, allocations: 71.89 kB / 1.15 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8992/0.9013, allocations: 176.1 MB / 1.322 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.006895/0.9082, allocations: 7.915 MB / 1.329 GB, free: 19.1 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007584/0.9158, allocations: 5.437 MB / 1.335 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.9175, allocations: 75.31 kB / 1.335 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005162/0.9226, allocations: 1.72 MB / 1.336 GB, free: 14.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.9249, allocations: 0.6662 MB / 1.337 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.9261, allocations: 296.7 kB / 1.337 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003696/0.9297, allocations: 2.046 MB / 1.339 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000796/0.9305, allocations: 0.5019 MB / 1.34 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001467/0.932, allocations: 0.8072 MB / 1.341 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.9333, allocations: 0.8873 MB / 1.341 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000234/0.9336, allocations: 93.56 kB / 1.342 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007231/0.9343, allocations: 225.2 kB / 1.342 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003647/0.9347, allocations: 379 kB / 1.342 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000921/0.9356, allocations: 0.8718 MB / 1.343 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003466/0.939, allocations: 2.658 MB / 1.346 GB, free: 10.01 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.939, allocations: 1.094 kB / 1.346 GB, free: 10.01 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.939, allocations: 0 / 1.346 GB, free: 10.01 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.765e-05/0.9391, allocations: 0 / 1.346 GB, free: 10.01 MB / 1.061 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.004447/0.9436, allocations: 2.474 MB / 1.348 GB, free: 8.367 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.9436, allocations: 14.09 kB / 1.348 GB, free: 8.363 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.735e-05/0.9436, allocations: 12.72 kB / 1.348 GB, free: 8.363 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.9437, allocations: 93.47 kB / 1.348 GB, free: 8.293 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003595/0.9441, allocations: 229 kB / 1.348 GB, free: 8.168 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/0.9474, allocations: 1.736 MB / 1.35 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.9474, allocations: 38.56 kB / 1.35 GB, free: 7.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/0.9475, allocations: 54.23 kB / 1.35 GB, free: 7.211 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.9485, allocations: 0.5499 MB / 1.351 GB, free: 7.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.9485, allocations: 0 / 1.351 GB, free: 7.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.9486, allocations: 20.41 kB / 1.351 GB, free: 7.004 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.9486, allocations: 11 kB / 1.351 GB, free: 7.004 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007896/0.9494, allocations: 0.5006 MB / 1.351 GB, free: 6.863 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.005001/0.9544, allocations: 3.244 MB / 1.354 GB, free: 4.871 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.9545, allocations: 55.89 kB / 1.354 GB, free: 4.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/0.9545, allocations: 45.3 kB / 1.354 GB, free: 4.824 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.9546, allocations: 3.938 kB / 1.354 GB, free: 4.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.9546, allocations: 36.81 kB / 1.354 GB, free: 4.777 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.974e-06/0.9546, allocations: 0 / 1.354 GB, free: 4.777 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0006981/0.9553, allocations: 369.5 kB / 1.355 GB, free: 4.598 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.9553, allocations: 51.41 kB / 1.355 GB, free: 4.535 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00445/0.9598, allocations: 2.935 MB / 1.358 GB, free: 3.598 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.9598, allocations: 27.02 kB / 1.358 GB, free: 3.566 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007114/0.9605, allocations: 0.947 MB / 1.359 GB, free: 2.816 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.9605, allocations: 9.797 kB / 1.359 GB, free: 2.812 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.9607, allocations: 119.9 kB / 1.359 GB, free: 2.742 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.9608, allocations: 330.1 kB / 1.359 GB, free: 2.426 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.961, allocations: 152.4 kB / 1.359 GB, free: 2.387 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.9614, allocations: 473.9 kB / 1.36 GB, free: 1.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/0.9619, allocations: 0.5975 MB / 1.36 GB, free: 1.395 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.9619, allocations: 3.5 kB / 1.36 GB, free: 1.395 MB / 1.061 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001308/0.9632, allocations: 0.7755 MB / 1.361 GB, free: 1.055 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.9632, allocations: 10.25 kB / 1.361 GB, free: 1.055 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.9632, allocations: 11.78 kB / 1.361 GB, free: 1.055 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-05/0.9633, allocations: 17.81 kB / 1.361 GB, free: 1.051 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.9636, allocations: 107.9 kB / 1.361 GB, free: 1.035 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/0.9636, allocations: 20.25 kB / 1.361 GB, free: 1.031 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/0.9646, allocations: 90 kB / 1.361 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.9646, allocations: 33.59 kB / 1.361 GB, free: 0.9648 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.001071/0.9657, allocations: 0.7389 MB / 1.362 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/0.966, allocations: 219.6 kB / 1.362 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/0.9664, allocations: 224.6 kB / 1.362 GB, free: 448 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.9664, allocations: 4.5 kB / 1.362 GB, free: 444 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.9664, allocations: 0 / 1.362 GB, free: 444 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.9664, allocations: 0.5625 kB / 1.362 GB, free: 444 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.9679, allocations: 0.9397 MB / 1.363 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.9679, allocations: 0 / 1.363 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.9679, allocations: 2.109 kB / 1.363 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.9679, allocations: 5.438 kB / 1.363 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.968, allocations: 0 / 1.363 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.968, allocations: 0 / 1.363 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.968, allocations: 2.297 kB / 1.363 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.9685, allocations: 427.9 kB / 1.364 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006565/0.9691, allocations: 374.8 kB / 1.364 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.9693, allocations: 2.094 kB / 1.364 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.9697, allocations: 2.547 kB / 1.364 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.9697, allocations: 4.031 kB / 1.364 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.9697, allocations: 1.125 kB / 1.364 GB, free: 15.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003489/0.9732, allocations: 2.066 MB / 1.366 GB, free: 14.76 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9732, allocations: 0 / 1.366 GB, free: 14.76 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001265/0.9745, allocations: 246.1 kB / 1.366 GB, free: 14.74 MB / 1.076 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.001184/0.9757, allocations: 1.025 MB / 1.367 GB, free: 13.92 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000606/0.9763, allocations: 300.1 kB / 1.368 GB, free: 13.83 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9763, allocations: 0 / 1.368 GB, free: 13.83 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.124e-05/0.9763, allocations: 45.23 kB / 1.368 GB, free: 13.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/0.9793, allocations: 0.7079 MB / 1.368 GB, free: 13.59 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02866/1.008, allocations: 16.3 MB / 1.384 GB, free: 6.934 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/1.01, allocations: 1.8 MB / 1.386 GB, free: 6.016 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001336/1.011, allocations: 311.9 kB / 1.386 GB, free: 5.965 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009446/1.012, allocations: 0.6797 MB / 1.387 GB, free: 5.422 MB / 1.076 GB Notification: Performance of SimCode: time 1.412e-06/1.012, allocations: 0 / 1.387 GB, free: 5.422 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08891/1.101, allocations: 44.26 MB / 1.43 GB, free: 9.758 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.52, allocations: 19.78 kB / 1.43 GB, free: 9.738 MB / 1.107 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.05451579199871]