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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001244/0.001244, allocations: 103.7 kB / 16.41 MB, free: 6.016 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.001216/0.001216, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 60.3 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.053, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.009724/1.063, allocations: 4.931 MB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1797/1.243, allocations: 150.6 MB / 1.36 GB, free: 1.453 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/1.244, allocations: 15.94 kB / 1.36 GB, free: 1.438 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/1.245, allocations: 186.2 kB / 1.36 GB, free: 1.254 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002678/1.248, allocations: 0.5658 MB / 1.361 GB, free: 0.6914 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0027/1.251, allocations: 0.8523 MB / 1.362 GB, free: 15.84 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002305/1.253, allocations: 1.432 MB / 1.363 GB, free: 14.41 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/1.254, allocations: 0.6027 MB / 1.364 GB, free: 13.79 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/1.255, allocations: 0.5022 MB / 1.364 GB, free: 13.28 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/1.256, allocations: 0.5095 MB / 1.365 GB, free: 12.77 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003894/1.257, allocations: 120 kB / 1.365 GB, free: 12.65 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/1.258, allocations: 491.5 kB / 1.365 GB, free: 12.17 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003082/1.259, allocations: 299 kB / 1.366 GB, free: 11.88 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005849/1.259, allocations: 0.5713 MB / 1.366 GB, free: 11.3 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002016/1.261, allocations: 1.645 MB / 1.368 GB, free: 9.656 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.261, allocations: 0 / 1.368 GB, free: 9.656 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.963e-06/1.261, allocations: 0 / 1.368 GB, free: 9.656 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.474e-05/1.261, allocations: 8 kB / 1.368 GB, free: 9.648 MB / 1.092 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.002541/1.264, allocations: 1.462 MB / 1.369 GB, free: 8.133 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/1.264, allocations: 8.031 kB / 1.369 GB, free: 8.125 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/1.265, allocations: 231.3 kB / 1.37 GB, free: 7.898 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/1.266, allocations: 0.7695 MB / 1.37 GB, free: 7.09 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.756e-05/1.266, allocations: 69.98 kB / 1.37 GB, free: 7.02 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/1.266, allocations: 84 kB / 1.37 GB, free: 6.938 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/1.268, allocations: 0.9794 MB / 1.371 GB, free: 5.91 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/1.268, allocations: 3.938 kB / 1.371 GB, free: 5.906 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.056e-05/1.268, allocations: 36 kB / 1.371 GB, free: 5.871 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/1.268, allocations: 27.98 kB / 1.371 GB, free: 5.844 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/1.27, allocations: 1.163 MB / 1.373 GB, free: 4.68 MB / 1.092 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.004226/1.274, allocations: 3.013 MB / 1.376 GB, free: 1.535 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/1.276, allocations: 0.9472 MB / 1.376 GB, free: 0.5664 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/1.277, allocations: 314.7 kB / 1.377 GB, free: 260 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.533e-05/1.277, allocations: 36.59 kB / 1.377 GB, free: 224 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008546/1.278, allocations: 0.5003 MB / 1.377 GB, free: 15.7 MB / 1.107 GB Notification: Performance of pre-optimization done (n=83): time 2.555e-06/1.278, allocations: 4 kB / 1.377 GB, free: 15.7 MB / 1.107 GB Notification: Performance of matching and sorting (n=83): time 0.003112/1.281, allocations: 1.227 MB / 1.378 GB, free: 14.44 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.281, allocations: 200.9 kB / 1.379 GB, free: 14.2 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008414/1.282, allocations: 0.6331 MB / 1.379 GB, free: 13.56 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-05/1.282, allocations: 41.7 kB / 1.379 GB, free: 13.51 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/1.282, allocations: 404.3 kB / 1.38 GB, free: 13.11 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/1.282, allocations: 276 kB / 1.38 GB, free: 12.84 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/1.283, allocations: 174.5 kB / 1.38 GB, free: 12.66 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.283, allocations: 382.8 kB / 1.381 GB, free: 12.28 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/1.283, allocations: 281.8 kB / 1.381 GB, free: 12 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/1.284, allocations: 389.6 kB / 1.381 GB, free: 11.6 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/1.285, allocations: 0.6423 MB / 1.382 GB, free: 10.94 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.285, allocations: 4 kB / 1.382 GB, free: 10.93 MB / 1.107 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00192/1.287, allocations: 0.8839 MB / 1.383 GB, free: 10.04 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.287, allocations: 8 kB / 1.383 GB, free: 10.03 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.287, allocations: 0 / 1.383 GB, free: 10.03 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005947/1.288, allocations: 84.92 kB / 1.383 GB, free: 9.941 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/1.288, allocations: 175.7 kB / 1.383 GB, free: 9.77 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/1.29, allocations: 1.63 MB / 1.385 GB, free: 7.996 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007783/1.291, allocations: 99.22 kB / 1.385 GB, free: 7.898 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.016e-05/1.291, allocations: 35.98 kB / 1.385 GB, free: 7.863 MB / 1.107 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.0005085/1.292, allocations: 279.6 kB / 1.385 GB, free: 7.578 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/1.292, allocations: 82.97 kB / 1.385 GB, free: 7.496 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/1.294, allocations: 1.085 MB / 1.386 GB, free: 6.398 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.294, allocations: 12 kB / 1.386 GB, free: 6.387 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/1.294, allocations: 0 / 1.386 GB, free: 6.387 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/1.294, allocations: 3.984 kB / 1.386 GB, free: 6.383 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/1.298, allocations: 2.091 MB / 1.388 GB, free: 4.219 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.298, allocations: 0 / 1.388 GB, free: 4.219 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000582/1.298, allocations: 147.8 kB / 1.388 GB, free: 4.074 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004234/1.299, allocations: 76.78 kB / 1.388 GB, free: 3.996 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/1.299, allocations: 27.92 kB / 1.388 GB, free: 3.969 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/1.301, allocations: 1.662 MB / 1.39 GB, free: 2.16 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.301, allocations: 0 / 1.39 GB, free: 2.16 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/1.303, allocations: 1.006 MB / 1.391 GB, free: 1.137 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/1.303, allocations: 275.7 kB / 1.391 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/1.303, allocations: 23.98 kB / 1.391 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006411/1.304, allocations: 64 kB / 1.391 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.304, allocations: 80.83 kB / 1.391 GB, free: 0.6797 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-05/1.304, allocations: 35.98 kB / 1.391 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005747/1.305, allocations: 455 kB / 1.392 GB, free: 212 kB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.305, allocations: 0 / 1.392 GB, free: 212 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009998/1.306, allocations: 335.3 kB / 1.392 GB, free: 15.88 MB / 1.123 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.001421/1.307, allocations: 0.6087 MB / 1.393 GB, free: 15.45 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001769/1.309, allocations: 0.8627 MB / 1.394 GB, free: 14.58 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.309, allocations: 0 / 1.394 GB, free: 14.58 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009185/1.31, allocations: 0.5237 MB / 1.394 GB, free: 14.04 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/1.311, allocations: 310.8 kB / 1.394 GB, free: 13.75 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/1.314, allocations: 1.713 MB / 1.396 GB, free: 12 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/1.315, allocations: 1.032 MB / 1.397 GB, free: 10.94 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/1.315, allocations: 119.3 kB / 1.397 GB, free: 10.82 MB / 1.123 GB Notification: Performance of SimCode: time 7.51e-07/1.315, allocations: 0 / 1.397 GB, free: 10.82 MB / 1.123 GB Notification: Performance of Templates: time 0.02635/1.342, allocations: 18.97 MB / 1.416 GB, free: 7.902 MB / 1.139 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches