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.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.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.008043/0.008044, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.001857/0.001857, allocations: 191.3 kB / 16.67 MB, free: 5.934 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.257/2.257, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.14 kB / 0.9508 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7317/0.7329, allocations: 140.4 MB / 1.088 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005247/0.7382, allocations: 4.431 MB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1814/0.9196, allocations: 150.6 MB / 1.239 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.9209, allocations: 16.5 kB / 1.239 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007012/0.9217, allocations: 180 kB / 1.239 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.9236, allocations: 0.5152 MB / 1.24 GB, free: 372 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.9262, allocations: 0.8386 MB / 1.241 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001825/0.928, allocations: 1.347 MB / 1.242 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009995/0.929, allocations: 0.6411 MB / 1.243 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007907/0.9298, allocations: 493.8 kB / 1.243 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006444/0.9305, allocations: 0.503 MB / 1.244 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.9307, allocations: 116.9 kB / 1.244 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.9318, allocations: 490 kB / 1.244 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003088/0.9321, allocations: 300.7 kB / 1.245 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000522/0.9326, allocations: 0.5557 MB / 1.245 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.9347, allocations: 1.626 MB / 1.247 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.9347, allocations: 0 / 1.247 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.704e-06/0.9347, allocations: 4 kB / 1.247 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.144e-05/0.9347, allocations: 0 / 1.247 GB, free: 11.14 MB / 0.9825 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.002551/0.9373, allocations: 1.443 MB / 1.248 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.9373, allocations: 8.031 kB / 1.248 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.9386, allocations: 239.2 kB / 1.248 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.9397, allocations: 0.7694 MB / 1.249 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/0.9398, allocations: 66 kB / 1.249 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.9399, allocations: 84 kB / 1.249 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.9416, allocations: 0.9872 MB / 1.25 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.9416, allocations: 0 / 1.25 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-05/0.9417, allocations: 36 kB / 1.25 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.9418, allocations: 24 kB / 1.25 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.9437, allocations: 1.167 MB / 1.251 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/0.948, allocations: 2.791 MB / 1.254 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.9499, allocations: 0.9493 MB / 1.255 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/0.9504, allocations: 310.7 kB / 1.255 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.052e-05/0.9505, allocations: 32.59 kB / 1.255 GB, free: 2 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008257/0.9513, allocations: 0.5002 MB / 1.256 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 2.265e-06/0.9514, allocations: 4 kB / 1.256 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003191/0.9546, allocations: 1.216 MB / 1.257 GB, free: 240 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.9547, allocations: 196.9 kB / 1.257 GB, free: 0 / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007529/0.9554, allocations: 0.6293 MB / 1.258 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.999e-05/0.9555, allocations: 45.7 kB / 1.258 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.9558, allocations: 412.2 kB / 1.258 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.956, allocations: 264.2 kB / 1.259 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/0.9563, allocations: 178.4 kB / 1.259 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.9565, allocations: 386.8 kB / 1.259 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/0.957, allocations: 273.9 kB / 1.259 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000641/0.9576, allocations: 389.6 kB / 1.26 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.9588, allocations: 0.6345 MB / 1.26 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.9588, allocations: 4 kB / 1.26 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002112/0.9609, allocations: 0.8839 MB / 1.261 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.961, allocations: 4 kB / 1.261 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.961, allocations: 4 kB / 1.261 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006143/0.9616, allocations: 84.86 kB / 1.261 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007037/0.9623, allocations: 171.8 kB / 1.261 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.9644, allocations: 1.634 MB / 1.263 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007439/0.9652, allocations: 90 kB / 1.263 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/0.9652, allocations: 39.97 kB / 1.263 GB, free: 9.676 MB / 0.9981 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.0004445/0.9657, allocations: 283.8 kB / 1.263 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.9659, allocations: 82.97 kB / 1.264 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.9683, allocations: 1.093 MB / 1.265 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.9683, allocations: 11.98 kB / 1.265 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.9683, allocations: 0 / 1.265 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.9683, allocations: 7.984 kB / 1.265 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003481/0.9718, allocations: 2.077 MB / 1.267 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.9718, allocations: 0 / 1.267 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/0.9725, allocations: 147.8 kB / 1.267 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004491/0.9729, allocations: 72.78 kB / 1.267 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.973, allocations: 27.97 kB / 1.267 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.9749, allocations: 1.662 MB / 1.268 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9749, allocations: 0 / 1.268 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.9769, allocations: 1.017 MB / 1.269 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.9773, allocations: 271.7 kB / 1.27 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.9774, allocations: 20 kB / 1.27 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/0.9781, allocations: 67.92 kB / 1.27 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.9783, allocations: 76.83 kB / 1.27 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.886e-05/0.9783, allocations: 35.98 kB / 1.27 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005405/0.9789, allocations: 463 kB / 1.27 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9789, allocations: 0 / 1.27 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008472/0.9798, allocations: 319.2 kB / 1.271 GB, free: 1.699 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: 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.001284/0.981, allocations: 0.6002 MB / 1.271 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001666/0.9827, allocations: 0.8511 MB / 1.272 GB, free: 412 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9827, allocations: 0 / 1.272 GB, free: 412 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009521/0.9837, allocations: 0.5275 MB / 1.273 GB, free: 15.87 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.985, allocations: 312.8 kB / 1.273 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.989, allocations: 1.771 MB / 1.275 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.9896, allocations: 1.039 MB / 1.276 GB, free: 12.72 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008636/0.9904, allocations: 270.8 kB / 1.276 GB, free: 12.45 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.9907, allocations: 111.4 kB / 1.276 GB, free: 12.34 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/0.9907, allocations: 0 / 1.276 GB, free: 12.34 MB / 1.014 GB Notification: Performance of Templates: time 0.02771/1.018, allocations: 15.48 MB / 1.291 GB, free: 13.02 MB / 1.029 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches