Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_latest_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_latest_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.005655/0.005656, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001158/0.001158, allocations: 190.2 kB / 16.67 MB, free: 5.969 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.552/2.552, allocations: 472.6 MB / 0.7453 GB, free: 500 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8237/0.825, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006926/0.832, allocations: 4.928 MB / 1.23 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1663/0.9983, allocations: 150.6 MB / 1.378 GB, free: 1.352 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008329/0.9992, allocations: 19.88 kB / 1.378 GB, free: 1.332 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.9998, allocations: 190.1 kB / 1.378 GB, free: 1.145 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001927/1.002, allocations: 0.5512 MB / 1.378 GB, free: 0.5938 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/1.004, allocations: 0.8574 MB / 1.379 GB, free: 15.74 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001515/1.005, allocations: 1.42 MB / 1.38 GB, free: 14.32 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009035/1.006, allocations: 0.6062 MB / 1.381 GB, free: 13.69 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007314/1.007, allocations: 0.4982 MB / 1.382 GB, free: 13.19 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00057/1.008, allocations: 0.5095 MB / 1.382 GB, free: 12.68 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/1.008, allocations: 123.9 kB / 1.382 GB, free: 12.55 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009188/1.009, allocations: 491.6 kB / 1.383 GB, free: 12.07 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002464/1.009, allocations: 295.1 kB / 1.383 GB, free: 11.79 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004445/1.009, allocations: 0.5674 MB / 1.383 GB, free: 11.21 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/1.011, allocations: 1.67 MB / 1.385 GB, free: 9.539 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/1.011, allocations: 3.938 kB / 1.385 GB, free: 9.535 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.212e-06/1.011, allocations: 0 / 1.385 GB, free: 9.535 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.469e-05/1.011, allocations: 0 / 1.385 GB, free: 9.535 MB / 1.107 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.002364/1.014, allocations: 1.494 MB / 1.387 GB, free: 7.992 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/1.014, allocations: 12.03 kB / 1.387 GB, free: 7.98 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/1.015, allocations: 232 kB / 1.387 GB, free: 7.754 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/1.016, allocations: 0.7817 MB / 1.388 GB, free: 6.926 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/1.016, allocations: 73.92 kB / 1.388 GB, free: 6.855 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/1.016, allocations: 80 kB / 1.388 GB, free: 6.777 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/1.018, allocations: 0.9755 MB / 1.389 GB, free: 5.75 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/1.018, allocations: 8 kB / 1.389 GB, free: 5.742 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.975e-05/1.018, allocations: 43.98 kB / 1.389 GB, free: 5.699 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/1.018, allocations: 20 kB / 1.389 GB, free: 5.68 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/1.02, allocations: 1.163 MB / 1.39 GB, free: 4.516 MB / 1.107 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.004179/1.024, allocations: 3.014 MB / 1.393 GB, free: 1.367 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/1.026, allocations: 0.9512 MB / 1.394 GB, free: 404 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005201/1.027, allocations: 314.7 kB / 1.394 GB, free: 84 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.69e-05/1.027, allocations: 32.61 kB / 1.394 GB, free: 52 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00092/1.028, allocations: 0.5018 MB / 1.395 GB, free: 15.54 MB / 1.123 GB Notification: Performance of pre-optimization done (n=83): time 2.445e-06/1.028, allocations: 0 / 1.395 GB, free: 15.54 MB / 1.123 GB Notification: Performance of matching and sorting (n=83): time 0.00307/1.031, allocations: 1.24 MB / 1.396 GB, free: 14.27 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.031, allocations: 188.9 kB / 1.396 GB, free: 14.04 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007892/1.032, allocations: 0.6293 MB / 1.397 GB, free: 13.41 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/1.032, allocations: 49.7 kB / 1.397 GB, free: 13.35 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/1.032, allocations: 417 kB / 1.397 GB, free: 12.94 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/1.032, allocations: 285.6 kB / 1.397 GB, free: 12.66 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/1.033, allocations: 170.6 kB / 1.397 GB, free: 12.48 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001883/1.033, allocations: 386.8 kB / 1.398 GB, free: 12.1 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005285/1.033, allocations: 273.8 kB / 1.398 GB, free: 11.83 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006588/1.034, allocations: 397.6 kB / 1.398 GB, free: 11.42 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/1.035, allocations: 0.6385 MB / 1.399 GB, free: 10.76 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.035, allocations: 0 / 1.399 GB, free: 10.76 MB / 1.123 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002027/1.037, allocations: 0.8959 MB / 1.4 GB, free: 9.852 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/1.037, allocations: 4 kB / 1.4 GB, free: 9.848 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.037, allocations: 4 kB / 1.4 GB, free: 9.844 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005653/1.038, allocations: 84.95 kB / 1.4 GB, free: 9.758 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/1.039, allocations: 175.6 kB / 1.4 GB, free: 9.586 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/1.041, allocations: 1.63 MB / 1.402 GB, free: 7.809 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008519/1.042, allocations: 99.52 kB / 1.402 GB, free: 7.711 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/1.042, allocations: 36.05 kB / 1.402 GB, free: 7.676 MB / 1.123 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.0005464/1.042, allocations: 279.6 kB / 1.402 GB, free: 7.391 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/1.043, allocations: 87.44 kB / 1.402 GB, free: 7.305 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/1.045, allocations: 1.089 MB / 1.403 GB, free: 6.199 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/1.045, allocations: 15.98 kB / 1.403 GB, free: 6.184 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/1.045, allocations: 0 / 1.403 GB, free: 6.184 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/1.045, allocations: 7.984 kB / 1.403 GB, free: 6.176 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003642/1.049, allocations: 2.088 MB / 1.405 GB, free: 4.02 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/1.049, allocations: 0 / 1.405 GB, free: 4.02 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/1.049, allocations: 151.7 kB / 1.406 GB, free: 3.871 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004334/1.05, allocations: 72.78 kB / 1.406 GB, free: 3.797 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.695e-05/1.05, allocations: 23.98 kB / 1.406 GB, free: 3.773 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/1.052, allocations: 1.674 MB / 1.407 GB, free: 1.957 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.052, allocations: 0 / 1.407 GB, free: 1.957 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/1.054, allocations: 1.014 MB / 1.408 GB, free: 0.9219 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004179/1.054, allocations: 272.2 kB / 1.409 GB, free: 0.6367 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/1.054, allocations: 23.98 kB / 1.409 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006633/1.055, allocations: 63.94 kB / 1.409 GB, free: 0.5508 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/1.055, allocations: 76.77 kB / 1.409 GB, free: 488 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/1.055, allocations: 35.98 kB / 1.409 GB, free: 452 kB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006033/1.056, allocations: 459.1 kB / 1.409 GB, free: 15.99 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.8e-07/1.056, allocations: 0 / 1.409 GB, free: 15.99 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008932/1.057, allocations: 335.1 kB / 1.409 GB, free: 15.67 MB / 1.139 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.001299/1.058, allocations: 0.6158 MB / 1.41 GB, free: 15.23 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001647/1.06, allocations: 0.8468 MB / 1.411 GB, free: 14.37 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.06, allocations: 4.375 kB / 1.411 GB, free: 14.36 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009181/1.061, allocations: 0.5353 MB / 1.411 GB, free: 13.82 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/1.062, allocations: 318.9 kB / 1.412 GB, free: 13.53 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/1.065, allocations: 1.695 MB / 1.413 GB, free: 11.8 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006814/1.066, allocations: 1.027 MB / 1.414 GB, free: 10.75 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008165/1.067, allocations: 270.8 kB / 1.415 GB, free: 10.48 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/1.067, allocations: 111.4 kB / 1.415 GB, free: 10.37 MB / 1.139 GB Notification: Performance of SimCode: time 7.02e-07/1.067, allocations: 0 / 1.415 GB, free: 10.37 MB / 1.139 GB Notification: Performance of Templates: time 0.0262/1.093, allocations: 15.88 MB / 1.43 GB, free: 10.65 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches