Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0008514/0.0008514, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0008782/0.0008782, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003137, allocations: 8 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.662/0.6623, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.00755/0.6699, allocations: 6.937 MB / 0.9612 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007988/0.678, allocations: 4.921 MB / 0.966 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.6797, allocations: 40.03 kB / 0.966 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004436/0.6842, allocations: 1.388 MB / 0.9674 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.686, allocations: 0.5814 MB / 0.968 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008043/0.6868, allocations: 236.8 kB / 0.9682 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002786/0.6896, allocations: 1.945 MB / 0.9701 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009098/0.6906, allocations: 0.5909 MB / 0.9707 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.6919, allocations: 0.6667 MB / 0.9713 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.693, allocations: 0.8178 MB / 0.9721 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.6931, allocations: 70.97 kB / 0.9722 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.6937, allocations: 169.2 kB / 0.9724 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000321/0.694, allocations: 323.2 kB / 0.9727 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004236/0.6945, allocations: 387.9 kB / 0.973 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.6962, allocations: 1.786 MB / 0.9748 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6963, allocations: 0 / 0.9748 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6963, allocations: 1.062 kB / 0.9748 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.245e-05/0.6963, allocations: 0 / 0.9748 GB, free: 8.75 MB / 0.7325 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.003461/0.6998, allocations: 2.035 MB / 0.9768 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.6998, allocations: 13.09 kB / 0.9768 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003257/0.7002, allocations: 217.9 kB / 0.977 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002689/0.7029, allocations: 1.501 MB / 0.9785 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.7029, allocations: 41.53 kB / 0.9785 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-05/0.703, allocations: 54.61 kB / 0.9785 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009841/0.704, allocations: 0.5484 MB / 0.9791 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.704, allocations: 1.344 kB / 0.9791 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.7041, allocations: 19 kB / 0.9791 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.7041, allocations: 15.62 kB / 0.9791 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007644/0.7049, allocations: 0.4971 MB / 0.9796 GB, free: 5.477 MB / 0.7325 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.004854/0.7097, allocations: 3.277 MB / 0.9828 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.7099, allocations: 66.47 kB / 0.9829 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.763e-05/0.7099, allocations: 44.88 kB / 0.9829 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.71, allocations: 0 / 0.9829 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.71, allocations: 38.52 kB / 0.9829 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 2.465e-06/0.71, allocations: 0 / 0.9829 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0005823/0.7106, allocations: 366.7 kB / 0.9833 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.7106, allocations: 55.39 kB / 0.9833 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00402/0.7147, allocations: 2.931 MB / 0.9862 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.7147, allocations: 25.7 kB / 0.9862 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.7157, allocations: 0.9424 MB / 0.9872 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.7158, allocations: 11.98 kB / 0.9872 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.7158, allocations: 16.12 kB / 0.9872 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7159, allocations: 322 kB / 0.9875 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.7162, allocations: 149 kB / 0.9876 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.7166, allocations: 469.2 kB / 0.9881 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.717, allocations: 243.7 kB / 0.9883 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.717, allocations: 7.938 kB / 0.9883 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001203/0.7182, allocations: 0.7607 MB / 0.9891 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.7182, allocations: 15.95 kB / 0.9891 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.7183, allocations: 8 kB / 0.9891 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.322e-05/0.7183, allocations: 16 kB / 0.9891 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.7187, allocations: 107.8 kB / 0.9892 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/0.7187, allocations: 19.92 kB / 0.9892 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00097/0.7197, allocations: 91.31 kB / 0.9893 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.7197, allocations: 28 kB / 0.9893 GB, free: 11.06 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001125/0.7208, allocations: 0.7392 MB / 0.9901 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.7211, allocations: 201.4 kB / 0.9902 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.7214, allocations: 227.7 kB / 0.9905 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.7215, allocations: 4 kB / 0.9905 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.7215, allocations: 0 / 0.9905 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7215, allocations: 0 / 0.9905 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.7228, allocations: 0.947 MB / 0.9914 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7229, allocations: 0 / 0.9914 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.7229, allocations: 0 / 0.9914 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.7229, allocations: 0 / 0.9914 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.7229, allocations: 0 / 0.9914 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.723, allocations: 3.953 kB / 0.9914 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.723, allocations: 0 / 0.9914 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.7234, allocations: 429 kB / 0.9918 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005569/0.724, allocations: 366.4 kB / 0.9922 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.7242, allocations: 0 / 0.9922 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.7245, allocations: 4 kB / 0.9922 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.7245, allocations: 11.94 kB / 0.9922 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.7245, allocations: 0 / 0.9922 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002858/0.7274, allocations: 2.058 MB / 0.9942 GB, free: 5.984 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7274, allocations: 0 / 0.9942 GB, free: 5.984 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009523/0.7284, allocations: 240 kB / 0.9944 GB, free: 5.75 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003769/0.7288, allocations: 159.4 kB / 0.9946 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005136/0.7293, allocations: 308.9 kB / 0.9949 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7293, allocations: 0 / 0.9949 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.251e-05/0.7294, allocations: 43.89 kB / 0.9949 GB, free: 5.25 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/0.7319, allocations: 0.6728 MB / 0.9956 GB, free: 4.586 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005484/0.7374, allocations: 3.637 MB / 0.9991 GB, free: 0.9023 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/0.7388, allocations: 1.8 MB / 1.001 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009454/0.7398, allocations: 309.3 kB / 1.001 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.7399, allocations: 87.44 kB / 1.001 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of SimCode: time 1.142e-06/0.7399, allocations: 0 / 1.001 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of Templates: time 0.04274/0.7827, allocations: 23.13 MB / 1.024 GB, free: 7.914 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches