Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007817/0.0007817, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008043/0.0008043, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8599/0.8599, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.681/1.681, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.9809 GB, free: 2.648 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188e-05/1.309e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.003957/0.00397, allocations: 4.489 MB / 0.9853 GB, free: 14.14 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.5098/0.5138, allocations: 132.8 MB / 1.115 GB, free: 20.42 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006729/0.5145, allocations: 23.88 kB / 1.115 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005152/0.515, allocations: 203.4 kB / 1.115 GB, free: 20.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.5161, allocations: 0.5888 MB / 1.116 GB, free: 19.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.5174, allocations: 0.8938 MB / 1.117 GB, free: 19.46 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.5187, allocations: 1.514 MB / 1.118 GB, free: 18.66 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007234/0.5194, allocations: 415.2 kB / 1.118 GB, free: 18.43 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.5205, allocations: 0.7714 MB / 1.119 GB, free: 18.06 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004775/0.521, allocations: 424.3 kB / 1.12 GB, free: 17.9 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.5211, allocations: 126.1 kB / 1.12 GB, free: 17.9 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007737/0.5219, allocations: 0.496 MB / 1.12 GB, free: 17.79 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.5221, allocations: 324.3 kB / 1.121 GB, free: 17.58 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004058/0.5225, allocations: 413.9 kB / 1.121 GB, free: 17.38 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.5243, allocations: 1.83 MB / 1.123 GB, free: 16.62 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5243, allocations: 3.938 kB / 1.123 GB, free: 16.61 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5243, allocations: 1.406 kB / 1.123 GB, free: 16.61 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.698e-05/0.5243, allocations: 0 / 1.123 GB, free: 16.61 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002056/0.5264, allocations: 1.468 MB / 1.124 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.5264, allocations: 13.19 kB / 1.124 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.5266, allocations: 141 kB / 1.124 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.5276, allocations: 287.9 kB / 1.125 GB, free: 15.49 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009669/0.5286, allocations: 0.7301 MB / 1.125 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.5286, allocations: 73.67 kB / 1.125 GB, free: 15 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.418e-05/0.5287, allocations: 93.55 kB / 1.125 GB, free: 14.97 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.5299, allocations: 1.259 MB / 1.127 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.5299, allocations: 3.938 kB / 1.127 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.5299, allocations: 42.69 kB / 1.127 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.5299, allocations: 22.75 kB / 1.127 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.5312, allocations: 1.127 MB / 1.128 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.534, allocations: 2.664 MB / 1.13 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.5351, allocations: 0.8734 MB / 1.131 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.5354, allocations: 305.8 kB / 1.132 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.494e-05/0.5355, allocations: 30.31 kB / 1.132 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005958/0.5361, allocations: 0.6187 MB / 1.132 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=91): time 2.144e-06/0.5361, allocations: 0 / 1.132 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of matching and sorting (n=91): time 0.001872/0.538, allocations: 1.201 MB / 1.133 GB, free: 11 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.538, allocations: 205.1 kB / 1.134 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005826/0.5386, allocations: 0.6603 MB / 1.134 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.5386, allocations: 50.02 kB / 1.134 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.5388, allocations: 420.4 kB / 1.135 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.5389, allocations: 299.2 kB / 1.135 GB, free: 9.875 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.5391, allocations: 171 kB / 1.135 GB, free: 9.797 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.5392, allocations: 397.6 kB / 1.136 GB, free: 9.445 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.5395, allocations: 281 kB / 1.136 GB, free: 9.344 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.54, allocations: 0.5435 MB / 1.136 GB, free: 8.961 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007591/0.5407, allocations: 0.6588 MB / 1.137 GB, free: 8.641 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5407, allocations: 1.188 kB / 1.137 GB, free: 8.641 MB / 0.9948 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001246/0.542, allocations: 0.9158 MB / 1.138 GB, free: 8.266 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.542, allocations: 6.875 kB / 1.138 GB, free: 8.266 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.542, allocations: 1.781 kB / 1.138 GB, free: 8.266 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003041/0.5423, allocations: 84.95 kB / 1.138 GB, free: 8.246 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.5427, allocations: 171.1 kB / 1.138 GB, free: 8.227 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.5437, allocations: 1.517 MB / 1.14 GB, free: 6.832 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.5441, allocations: 106.2 kB / 1.14 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.5441, allocations: 33.25 kB / 1.14 GB, free: 6.77 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (105): * Single equations (assignments): 104 * 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.0002407/0.5443, allocations: 285 kB / 1.14 GB, free: 6.559 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.5444, allocations: 89.73 kB / 1.14 GB, free: 6.512 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.5459, allocations: 1.126 MB / 1.141 GB, free: 6.062 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.5459, allocations: 10.41 kB / 1.141 GB, free: 6.062 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.5459, allocations: 0.6875 kB / 1.141 GB, free: 6.062 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.5459, allocations: 9.656 kB / 1.141 GB, free: 6.059 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.5481, allocations: 2.066 MB / 1.143 GB, free: 5.062 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5481, allocations: 7.094 kB / 1.143 GB, free: 5.059 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/0.5485, allocations: 156.4 kB / 1.143 GB, free: 5.043 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/0.5487, allocations: 72.95 kB / 1.143 GB, free: 5.023 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.5487, allocations: 25.91 kB / 1.144 GB, free: 5.012 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008497/0.5496, allocations: 1.55 MB / 1.145 GB, free: 3.598 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5496, allocations: 0 / 1.145 GB, free: 3.598 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.5507, allocations: 1.066 MB / 1.146 GB, free: 3.109 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.551, allocations: 210.8 kB / 1.146 GB, free: 2.992 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/0.5511, allocations: 25.66 kB / 1.146 GB, free: 2.977 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.5514, allocations: 60.92 kB / 1.146 GB, free: 2.965 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.5515, allocations: 84.59 kB / 1.146 GB, free: 2.949 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/0.5516, allocations: 37.72 kB / 1.146 GB, free: 2.941 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003908/0.552, allocations: 478.5 kB / 1.147 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.552, allocations: 4 kB / 1.147 GB, free: 2.73 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006588/0.5526, allocations: 342.3 kB / 1.147 GB, free: 2.637 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002156/0.5548, allocations: 2.161 MB / 1.149 GB, free: 1.461 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.5559, allocations: 0.8434 MB / 1.15 GB, free: 1.117 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5559, allocations: 1.344 kB / 1.15 GB, free: 1.117 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.5564, allocations: 0.5114 MB / 1.151 GB, free: 0.875 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/0.5572, allocations: 324.6 kB / 1.151 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007174/0.5643, allocations: 6.7 MB / 1.158 GB, free: 13.32 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.5647, allocations: 452.2 kB / 1.158 GB, free: 13.18 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005864/0.5653, allocations: 288.2 kB / 1.158 GB, free: 13.09 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/0.5657, allocations: 408 kB / 1.159 GB, free: 12.82 MB / 1.01 GB Notification: Performance of SimCode: time 3.71e-07/0.5657, allocations: 0 / 1.159 GB, free: 12.82 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.6018, allocations: 25.12 MB / 1.183 GB, free: 5.074 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.446/9.047, allocations: 8.109 kB / 1.183 GB, free: 5.07 MB / 1.01 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.100341611541808]