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.0008319/0.0008319, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008604/0.0008604, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8899/0.8899, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.704/1.704, allocations: 377.9 MB / 0.6229 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|radTem.TRad",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|radTem.TRad",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.9823 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.815e-05, allocations: 2.281 kB / 0.9823 GB, free: 1.98 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.006241/0.006269, allocations: 6.952 MB / 0.9891 GB, free: 10.99 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.006143/0.01241, allocations: 4.908 MB / 0.9939 GB, free: 6.066 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009057/0.01332, allocations: 75.44 kB / 0.9939 GB, free: 5.992 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.01608, allocations: 1.624 MB / 0.9955 GB, free: 4.359 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008252/0.0169, allocations: 0.7015 MB / 0.9962 GB, free: 3.652 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.01747, allocations: 322.3 kB / 0.9965 GB, free: 3.34 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.01891, allocations: 2.151 MB / 0.9986 GB, free: 1.184 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003834/0.01929, allocations: 301.1 kB / 0.9989 GB, free: 0.8672 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009282/0.02022, allocations: 1.103 MB / 1 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006025/0.02083, allocations: 0.748 MB / 1.001 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.02094, allocations: 92 kB / 1.001 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.02128, allocations: 211.8 kB / 1.001 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.02151, allocations: 394.3 kB / 1.001 GB, free: 14.33 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003499/0.02186, allocations: 0.5025 MB / 1.002 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.02354, allocations: 2.573 MB / 1.004 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.02354, allocations: 0 / 1.004 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.242e-06/0.02354, allocations: 0 / 1.004 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.087e-05/0.02357, allocations: 0 / 1.004 GB, free: 11.24 MB / 0.9636 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.002166/0.02574, allocations: 2.391 MB / 1.007 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.02577, allocations: 8.031 kB / 1.007 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.02595, allocations: 227.5 kB / 1.007 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.02758, allocations: 1.654 MB / 1.009 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.02761, allocations: 41.38 kB / 1.009 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.02766, allocations: 55.94 kB / 1.009 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005664/0.02822, allocations: 0.5606 MB / 1.009 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.02823, allocations: 0 / 1.009 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.02826, allocations: 16 kB / 1.009 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.02827, allocations: 12 kB / 1.009 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004934/0.02876, allocations: 0.4996 MB / 1.01 GB, free: 5.668 MB / 0.9636 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.002289/0.03105, allocations: 2.34 MB / 1.012 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.869e-05/0.03113, allocations: 66.47 kB / 1.012 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.03118, allocations: 44.88 kB / 1.012 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.03119, allocations: 0 / 1.012 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.03121, allocations: 38.5 kB / 1.012 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.03121, allocations: 4 kB / 1.012 GB, free: 3.055 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0003465/0.03155, allocations: 348.2 kB / 1.012 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.03158, allocations: 51.41 kB / 1.013 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.03371, allocations: 2.679 MB / 1.015 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.03373, allocations: 25.7 kB / 1.015 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005597/0.03428, allocations: 0.9539 MB / 1.016 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.0343, allocations: 11.95 kB / 1.016 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.231e-05/0.03439, allocations: 118 kB / 1.016 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.03448, allocations: 330 kB / 1.017 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.03462, allocations: 148.9 kB / 1.017 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.03492, allocations: 0.4909 MB / 1.017 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.03534, allocations: 0.5981 MB / 1.018 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.03534, allocations: 0 / 1.018 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006418/0.03598, allocations: 0.7544 MB / 1.018 GB, free: 12.19 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.03601, allocations: 11.94 kB / 1.018 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.03602, allocations: 12 kB / 1.019 GB, free: 12.17 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.03604, allocations: 20.06 kB / 1.019 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.03621, allocations: 107.8 kB / 1.019 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.03622, allocations: 15.94 kB / 1.019 GB, free: 12.03 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.0365, allocations: 79.5 kB / 1.019 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.03652, allocations: 28 kB / 1.019 GB, free: 11.92 MB / 0.9792 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.0005387/0.03706, allocations: 0.7392 MB / 1.019 GB, free: 11.17 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.03719, allocations: 198.6 kB / 1.02 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.03737, allocations: 202.1 kB / 1.02 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.03737, allocations: 0 / 1.02 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.03738, allocations: 0 / 1.02 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.03738, allocations: 7.922 kB / 1.02 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/0.03801, allocations: 0.7688 MB / 1.021 GB, free: 9.965 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.03801, allocations: 0 / 1.021 GB, free: 9.965 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.03804, allocations: 0 / 1.021 GB, free: 9.965 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.03804, allocations: 0 / 1.021 GB, free: 9.965 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.03805, allocations: 3.938 kB / 1.021 GB, free: 9.961 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.03805, allocations: 4 kB / 1.021 GB, free: 9.957 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.03805, allocations: 0 / 1.021 GB, free: 9.957 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.0383, allocations: 413.4 kB / 1.021 GB, free: 9.535 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.03858, allocations: 266.6 kB / 1.021 GB, free: 9.273 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.181e-05/0.03866, allocations: 7.938 kB / 1.021 GB, free: 9.266 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.03882, allocations: 7.922 kB / 1.021 GB, free: 9.258 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.03884, allocations: 0 / 1.021 GB, free: 9.258 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.03884, allocations: 0 / 1.021 GB, free: 9.258 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001495/0.04033, allocations: 1.874 MB / 1.023 GB, free: 7.371 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.04033, allocations: 0 / 1.023 GB, free: 7.371 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004815/0.04082, allocations: 267.6 kB / 1.023 GB, free: 7.109 MB / 0.9792 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.0003153/0.04113, allocations: 145.8 kB / 1.023 GB, free: 6.961 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.04145, allocations: 300.9 kB / 1.024 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.04145, allocations: 0 / 1.024 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.04149, allocations: 39.95 kB / 1.024 GB, free: 6.629 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.04265, allocations: 0.6016 MB / 1.024 GB, free: 6.047 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.04535, allocations: 3.091 MB / 1.027 GB, free: 2.91 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/0.046, allocations: 1.079 MB / 1.028 GB, free: 1.797 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.04611, allocations: 84.48 kB / 1.029 GB, free: 1.715 MB / 0.9792 GB Notification: Performance of SimCode: time 6.21e-07/0.04611, allocations: 0 / 1.029 GB, free: 1.715 MB / 0.9792 GB Notification: Performance of Templates: time 0.4427/0.4888, allocations: 25.87 MB / 1.054 GB, free: 92.39 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) [Timeout 400] 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/jenkins/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: 12.261563352309167]