Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01125/0.01125, allocations: 101.3 kB / 15.88 MB, free: 5.863 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.001772/0.001772, allocations: 191.3 kB / 16.79 MB, free: 5.805 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.501/1.501, allocations: 222.9 MB / 240.5 MB, free: 4.578 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.415/2.415, allocations: 390.2 MB / 0.6649 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 55.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8783/0.8798, allocations: 140.4 MB / 0.9496 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006627/0.8865, allocations: 4.445 MB / 0.9539 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1938/1.08, allocations: 148.3 MB / 1.099 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/1.082, allocations: 19.88 kB / 1.099 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/1.084, allocations: 134.9 kB / 1.099 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003017/1.087, allocations: 447.9 kB / 1.099 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/1.09, allocations: 0.7393 MB / 1.1 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002171/1.092, allocations: 1.245 MB / 1.101 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/1.093, allocations: 0.6216 MB / 1.102 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000968/1.094, allocations: 430.2 kB / 1.102 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009554/1.095, allocations: 477.7 kB / 1.103 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003058/1.095, allocations: 56 kB / 1.103 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/1.097, allocations: 399.6 kB / 1.103 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003612/1.097, allocations: 239 kB / 1.103 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008606/1.098, allocations: 0.4971 MB / 1.104 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/1.1, allocations: 1.204 MB / 1.105 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.1, allocations: 4 kB / 1.105 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.423e-06/1.1, allocations: 0 / 1.105 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.98e-05/1.1, allocations: 0 / 1.105 GB, free: 2.441 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00396/1.104, allocations: 1.443 MB / 1.106 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.104, allocations: 8.031 kB / 1.106 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/1.105, allocations: 231.3 kB / 1.107 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/1.107, allocations: 0.7499 MB / 1.107 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.636e-05/1.107, allocations: 73.98 kB / 1.107 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/1.107, allocations: 84 kB / 1.108 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/1.109, allocations: 0.9794 MB / 1.108 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/1.109, allocations: 0 / 1.108 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.963e-05/1.109, allocations: 40 kB / 1.109 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/1.109, allocations: 20 kB / 1.109 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/1.111, allocations: 1.171 MB / 1.11 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/1.115, allocations: 2.809 MB / 1.112 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/1.117, allocations: 0.9523 MB / 1.113 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/1.117, allocations: 310.7 kB / 1.114 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.171e-05/1.117, allocations: 32.61 kB / 1.114 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009579/1.118, allocations: 0.4886 MB / 1.114 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 2.395e-06/1.118, allocations: 4 kB / 1.114 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.003201/1.122, allocations: 1.227 MB / 1.115 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/1.122, allocations: 192.9 kB / 1.116 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007677/1.123, allocations: 0.6332 MB / 1.116 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7e-05/1.123, allocations: 45.7 kB / 1.116 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/1.123, allocations: 412.3 kB / 1.117 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/1.123, allocations: 268.1 kB / 1.117 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/1.123, allocations: 166.5 kB / 1.117 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001949/1.124, allocations: 390.8 kB / 1.117 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/1.124, allocations: 273.8 kB / 1.118 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006221/1.125, allocations: 389.6 kB / 1.118 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/1.126, allocations: 0.6345 MB / 1.119 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.126, allocations: 0 / 1.119 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001983/1.128, allocations: 0.8916 MB / 1.12 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/1.128, allocations: 5.094 kB / 1.12 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.128, allocations: 4 kB / 1.12 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/1.129, allocations: 88.84 kB / 1.12 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006815/1.129, allocations: 171.7 kB / 1.12 GB, free: 2.879 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/1.132, allocations: 1.524 MB / 1.121 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007949/1.132, allocations: 95.22 kB / 1.121 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.417e-05/1.133, allocations: 39.98 kB / 1.121 GB, free: 1.078 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005063/1.133, allocations: 275.2 kB / 1.122 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/1.133, allocations: 86.97 kB / 1.122 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/1.136, allocations: 1.085 MB / 1.123 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.136, allocations: 15.94 kB / 1.123 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/1.136, allocations: 0 / 1.123 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/1.136, allocations: 3.984 kB / 1.123 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/1.139, allocations: 2.086 MB / 1.125 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.139, allocations: 3.984 kB / 1.125 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/1.14, allocations: 151.8 kB / 1.125 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004976/1.14, allocations: 84.77 kB / 1.125 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.428e-05/1.14, allocations: 27.97 kB / 1.125 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/1.142, allocations: 1.551 MB / 1.127 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.142, allocations: 0 / 1.127 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/1.144, allocations: 1.008 MB / 1.128 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/1.144, allocations: 275.7 kB / 1.128 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/1.145, allocations: 20 kB / 1.128 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006531/1.145, allocations: 70.03 kB / 1.128 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/1.145, allocations: 64.91 kB / 1.128 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.34e-05/1.145, allocations: 39.97 kB / 1.128 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005615/1.146, allocations: 459 kB / 1.129 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.773e-06/1.146, allocations: 0 / 1.129 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000933/1.147, allocations: 327.1 kB / 1.129 GB, free: 9.211 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001441/1.148, allocations: 0.5957 MB / 1.129 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001664/1.15, allocations: 0.8472 MB / 1.13 GB, free: 7.934 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.15, allocations: 4 kB / 1.13 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000906/1.151, allocations: 0.5235 MB / 1.131 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/1.152, allocations: 287.8 kB / 1.131 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/1.156, allocations: 2.248 MB / 1.133 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/1.157, allocations: 1.032 MB / 1.134 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/1.157, allocations: 127.2 kB / 1.134 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of SimCode: time 1.362e-06/1.157, allocations: 0 / 1.134 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of Templates: time 0.0265/1.184, allocations: 18.7 MB / 1.153 GB, free: 1 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches