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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|radTem.TRad",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|radTem.TRad",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004874/0.004874, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 196.9 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.384/2.384, allocations: 472.6 MB / 0.7453 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 67.89 kB / 1.07 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2503, allocations: 159.9 MB / 1.226 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.007689/0.258, allocations: 7.864 MB / 1.233 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006375/0.2644, allocations: 5.371 MB / 1.239 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006934/0.2651, allocations: 47.75 kB / 1.239 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003513/0.2687, allocations: 1.718 MB / 1.24 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.2698, allocations: 0.663 MB / 1.241 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.2706, allocations: 299.4 kB / 1.241 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001815/0.2724, allocations: 2.052 MB / 1.243 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006959/0.2731, allocations: 0.6918 MB / 1.244 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009071/0.274, allocations: 0.7543 MB / 1.245 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009601/0.275, allocations: 0.8707 MB / 1.246 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.2752, allocations: 95.98 kB / 1.246 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004648/0.2756, allocations: 211.8 kB / 1.246 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.2759, allocations: 370.5 kB / 1.246 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000693/0.2766, allocations: 0.87 MB / 1.247 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.2788, allocations: 2.642 MB / 1.25 GB, free: 456 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2788, allocations: 0 / 1.25 GB, free: 456 kB / 0.9981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2789, allocations: 0 / 1.25 GB, free: 456 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.638e-05/0.2789, allocations: 0 / 1.25 GB, free: 456 kB / 0.9981 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.4875/0.7664, allocations: 2.47 MB / 1.252 GB, free: 26.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.7665, allocations: 10.25 kB / 1.252 GB, free: 26.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.7667, allocations: 224.8 kB / 1.252 GB, free: 26.58 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.769, allocations: 1.735 MB / 1.254 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.769, allocations: 35.25 kB / 1.254 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.405e-05/0.7691, allocations: 52.97 kB / 1.254 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007958/0.7699, allocations: 0.5572 MB / 1.255 GB, free: 25.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.7699, allocations: 3.938 kB / 1.255 GB, free: 25.97 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.7699, allocations: 18.91 kB / 1.255 GB, free: 25.97 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.77, allocations: 12.25 kB / 1.255 GB, free: 25.97 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006819/0.7706, allocations: 0.5012 MB / 1.255 GB, free: 25.97 MB / 0.9981 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.003329/0.774, allocations: 3.236 MB / 1.258 GB, free: 24.54 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.441e-05/0.7741, allocations: 59.48 kB / 1.258 GB, free: 24.51 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.7741, allocations: 47.12 kB / 1.258 GB, free: 24.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.7741, allocations: 0 / 1.258 GB, free: 24.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/0.7742, allocations: 32.55 kB / 1.258 GB, free: 24.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.7742, allocations: 0.5 kB / 1.258 GB, free: 24.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0004643/0.7746, allocations: 376 kB / 1.259 GB, free: 24.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.782e-05/0.7747, allocations: 51.41 kB / 1.259 GB, free: 24.24 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002923/0.7776, allocations: 2.932 MB / 1.262 GB, free: 24.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.7776, allocations: 27.08 kB / 1.262 GB, free: 23.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006144/0.7782, allocations: 0.9466 MB / 1.263 GB, free: 23.24 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.7783, allocations: 15.59 kB / 1.263 GB, free: 23.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.7784, allocations: 113.9 kB / 1.263 GB, free: 23.17 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.656e-05/0.7784, allocations: 328.6 kB / 1.263 GB, free: 22.86 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.7786, allocations: 150.1 kB / 1.263 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.7789, allocations: 480.4 kB / 1.264 GB, free: 22.37 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.7794, allocations: 0.5978 MB / 1.264 GB, free: 21.85 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.7794, allocations: 2.969 kB / 1.264 GB, free: 21.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008146/0.7802, allocations: 0.7711 MB / 1.265 GB, free: 21.51 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.7802, allocations: 10.44 kB / 1.265 GB, free: 21.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.7802, allocations: 10.5 kB / 1.265 GB, free: 21.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.7802, allocations: 18.89 kB / 1.265 GB, free: 21.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.7805, allocations: 107.2 kB / 1.265 GB, free: 21.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.7805, allocations: 20.42 kB / 1.265 GB, free: 21.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006175/0.7812, allocations: 97.98 kB / 1.265 GB, free: 21.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.7812, allocations: 30.28 kB / 1.265 GB, free: 21.42 MB / 0.9981 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.0007069/0.7819, allocations: 0.7323 MB / 1.266 GB, free: 21.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.7821, allocations: 219.8 kB / 1.266 GB, free: 20.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.7824, allocations: 227.5 kB / 1.266 GB, free: 20.89 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.7824, allocations: 2.281 kB / 1.266 GB, free: 20.89 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7824, allocations: 4 kB / 1.266 GB, free: 20.89 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.7824, allocations: 0.6562 kB / 1.266 GB, free: 20.89 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.7835, allocations: 0.9344 MB / 1.267 GB, free: 20.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7835, allocations: 1.953 kB / 1.267 GB, free: 20.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.7836, allocations: 1.688 kB / 1.267 GB, free: 20.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7836, allocations: 1.594 kB / 1.267 GB, free: 20.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.7836, allocations: 4.625 kB / 1.267 GB, free: 20.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.7836, allocations: 1.172 kB / 1.267 GB, free: 20.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7836, allocations: 1.375 kB / 1.267 GB, free: 20.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.784, allocations: 433.2 kB / 1.268 GB, free: 20.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003851/0.7843, allocations: 372.6 kB / 1.268 GB, free: 19.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.7845, allocations: 3.938 kB / 1.268 GB, free: 19.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.7849, allocations: 2.578 kB / 1.268 GB, free: 19.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.7849, allocations: 6.156 kB / 1.268 GB, free: 19.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.7849, allocations: 0 / 1.268 GB, free: 19.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00245/0.7873, allocations: 2.061 MB / 1.27 GB, free: 19.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7874, allocations: 0.5938 kB / 1.27 GB, free: 19.22 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007805/0.7881, allocations: 249.7 kB / 1.27 GB, free: 19.2 MB / 0.9981 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.0003223/0.7885, allocations: 155.4 kB / 1.271 GB, free: 19.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005138/0.789, allocations: 307.3 kB / 1.271 GB, free: 19.01 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.789, allocations: 0 / 1.271 GB, free: 19.01 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.079e-05/0.7891, allocations: 43.45 kB / 1.271 GB, free: 19 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.7914, allocations: 0.7245 MB / 1.272 GB, free: 18.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.7949, allocations: 3.394 MB / 1.275 GB, free: 17.28 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/0.7961, allocations: 1.805 MB / 1.277 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007179/0.7968, allocations: 308.4 kB / 1.277 GB, free: 16.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.797, allocations: 91.08 kB / 1.277 GB, free: 16.31 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.797, allocations: 0 / 1.277 GB, free: 16.31 MB / 0.9981 GB Notification: Performance of Templates: time 0.03819/0.8352, allocations: 24.91 MB / 1.301 GB, free: 10.55 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.makefile (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 & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches