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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0007367/0.0007406, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.0044/0.004401, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.181/1.181, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.085/2.085, allocations: 390.9 MB / 0.6663 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002783/0.0002783, allocations: 12 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5407/0.541, allocations: 142.4 MB / 0.955 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.005667/0.5467, allocations: 7.356 MB / 0.9622 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006451/0.5531, allocations: 5.246 MB / 0.9674 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.5544, allocations: 35.88 kB / 0.9674 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004179/0.5586, allocations: 1.609 MB / 0.969 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.5604, allocations: 0.5813 MB / 0.9695 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008182/0.5612, allocations: 260.1 kB / 0.9698 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002713/0.5639, allocations: 2.326 MB / 0.972 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007915/0.5647, allocations: 0.643 MB / 0.9727 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.5658, allocations: 0.6951 MB / 0.9734 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.5671, allocations: 0.8551 MB / 0.9742 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002574/0.5673, allocations: 69.91 kB / 0.9743 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006107/0.568, allocations: 181.5 kB / 0.9744 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.5683, allocations: 332 kB / 0.9747 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007653/0.569, allocations: 0.8648 MB / 0.9756 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.5707, allocations: 2.207 MB / 0.9777 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.5708, allocations: 4 kB / 0.9777 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5708, allocations: 0 / 0.9777 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.5708, allocations: 0 / 0.9777 GB, free: 7.012 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.002468/0.5733, allocations: 2.012 MB / 0.9797 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.5733, allocations: 13.47 kB / 0.9797 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.5735, allocations: 210.5 kB / 0.9799 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.5756, allocations: 1.608 MB / 0.9815 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.5756, allocations: 44.98 kB / 0.9815 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/0.5757, allocations: 51.94 kB / 0.9816 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007881/0.5765, allocations: 0.5569 MB / 0.9821 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.5765, allocations: 0 / 0.9821 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.5765, allocations: 16 kB / 0.9821 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.5766, allocations: 12 kB / 0.9822 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006775/0.5772, allocations: 0.4995 MB / 0.9826 GB, free: 2.871 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.003638/0.5809, allocations: 3.298 MB / 0.9859 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 8.052e-05/0.581, allocations: 58.53 kB / 0.9859 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.581, allocations: 44.89 kB / 0.986 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.5811, allocations: 0 / 0.986 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.5811, allocations: 30.56 kB / 0.986 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.5811, allocations: 0 / 0.986 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=1): time 0.0004352/0.5815, allocations: 362.9 kB / 0.9863 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.5816, allocations: 51.41 kB / 0.9864 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003208/0.5848, allocations: 2.954 MB / 0.9893 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.5848, allocations: 29.83 kB / 0.9893 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007636/0.5856, allocations: 0.9386 MB / 0.9902 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.5856, allocations: 15.89 kB / 0.9902 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.5857, allocations: 49.69 kB / 0.9903 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.5858, allocations: 322 kB / 0.9906 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.586, allocations: 153 kB / 0.9907 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/0.5864, allocations: 473.2 kB / 0.9912 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/0.5869, allocations: 0.6135 MB / 0.9918 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.5869, allocations: 8 kB / 0.9918 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009065/0.5878, allocations: 0.7571 MB / 0.9925 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.5879, allocations: 8 kB / 0.9925 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.5879, allocations: 12 kB / 0.9926 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5879, allocations: 12 kB / 0.9926 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.5882, allocations: 107.8 kB / 0.9927 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.5882, allocations: 19.88 kB / 0.9927 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005779/0.5888, allocations: 98.98 kB / 0.9928 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.5888, allocations: 28 kB / 0.9928 GB, free: 7.828 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007025/0.5896, allocations: 0.7353 MB / 0.9935 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.5897, allocations: 201.4 kB / 0.9937 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.59, allocations: 223.8 kB / 0.9939 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.59, allocations: 0 / 0.9939 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.59, allocations: 3.938 kB / 0.9939 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.59, allocations: 4 kB / 0.9939 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009314/0.591, allocations: 0.9509 MB / 0.9949 GB, free: 5.652 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.591, allocations: 0 / 0.9949 GB, free: 5.652 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/0.591, allocations: 4 kB / 0.9949 GB, free: 5.648 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.591, allocations: 3.938 kB / 0.9949 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.5911, allocations: 3.938 kB / 0.9949 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.5911, allocations: 4 kB / 0.9949 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5911, allocations: 0 / 0.9949 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.5914, allocations: 421.1 kB / 0.9953 GB, free: 5.207 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/0.5919, allocations: 370.4 kB / 0.9956 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.592, allocations: 0 / 0.9956 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.5924, allocations: 0 / 0.9956 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.5924, allocations: 0 / 0.9956 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.5924, allocations: 4 kB / 0.9956 GB, free: 4.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002323/0.5947, allocations: 2.078 MB / 0.9977 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5947, allocations: 0 / 0.9977 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000685/0.5954, allocations: 247.9 kB / 0.9979 GB, free: 2.492 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 (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.0002996/0.5957, allocations: 152.3 kB / 0.998 GB, free: 2.344 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004042/0.5961, allocations: 313.2 kB / 0.9983 GB, free: 2.039 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5961, allocations: 0 / 0.9983 GB, free: 2.039 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.745e-05/0.5962, allocations: 43.95 kB / 0.9984 GB, free: 1.996 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.5985, allocations: 0.6688 MB / 0.999 GB, free: 1.332 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.6027, allocations: 3.838 MB / 1.003 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.6039, allocations: 1.8 MB / 1.005 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006977/0.6046, allocations: 301.3 kB / 1.005 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.6048, allocations: 87.44 kB / 1.005 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of SimCode: time 4.21e-07/0.6048, allocations: 0 / 1.005 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of Templates: time 0.0352/0.64, allocations: 23.73 MB / 1.028 GB, free: 3.859 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