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.001644/0.001644, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.002066/0.002066, allocations: 214.4 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.154/3.154, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 64.72 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3204, allocations: 176.1 MB / 1.327 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006805/0.3272, allocations: 4.482 MB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1634/0.4907, allocations: 132.6 MB / 1.46 GB, free: 7.895 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008264/0.4915, allocations: 23.81 kB / 1.46 GB, free: 7.871 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006494/0.4921, allocations: 202.1 kB / 1.461 GB, free: 7.672 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.4941, allocations: 0.5838 MB / 1.461 GB, free: 7.09 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.4963, allocations: 0.8711 MB / 1.462 GB, free: 6.227 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001922/0.4983, allocations: 1.459 MB / 1.464 GB, free: 4.762 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008245/0.4991, allocations: 430.1 kB / 1.464 GB, free: 4.316 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007989/0.4999, allocations: 0.5217 MB / 1.464 GB, free: 3.793 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007052/0.5006, allocations: 0.5173 MB / 1.465 GB, free: 3.273 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.5008, allocations: 124 kB / 1.465 GB, free: 3.152 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.5018, allocations: 0.4996 MB / 1.466 GB, free: 2.652 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003375/0.5021, allocations: 311 kB / 1.466 GB, free: 2.348 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000516/0.5027, allocations: 477.7 kB / 1.466 GB, free: 1.879 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.5049, allocations: 1.724 MB / 1.468 GB, free: 152 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.5049, allocations: 0 / 1.468 GB, free: 152 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5049, allocations: 0 / 1.468 GB, free: 152 kB / 1.154 GB Notification: Performance of Transformations before backend: time 2.882e-05/0.5049, allocations: 0 / 1.468 GB, free: 152 kB / 1.154 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.002929/0.5078, allocations: 1.455 MB / 1.469 GB, free: 14.66 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.5079, allocations: 16.03 kB / 1.469 GB, free: 14.64 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.286e-05/0.5079, allocations: 22.19 kB / 1.469 GB, free: 14.62 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/0.5081, allocations: 139.7 kB / 1.47 GB, free: 14.48 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.5101, allocations: 279.9 kB / 1.47 GB, free: 14.2 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.5119, allocations: 0.7256 MB / 1.471 GB, free: 13.45 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.135e-05/0.5119, allocations: 65.94 kB / 1.471 GB, free: 13.38 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.5121, allocations: 84 kB / 1.471 GB, free: 13.3 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.5142, allocations: 1.246 MB / 1.472 GB, free: 11.94 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.5143, allocations: 0 / 1.472 GB, free: 11.94 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.5144, allocations: 40 kB / 1.472 GB, free: 11.9 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.5144, allocations: 20 kB / 1.472 GB, free: 11.88 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.5166, allocations: 1.171 MB / 1.473 GB, free: 10.71 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00455/0.5211, allocations: 2.522 MB / 1.476 GB, free: 8.113 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.5229, allocations: 0.8354 MB / 1.476 GB, free: 7.27 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005353/0.5234, allocations: 282.7 kB / 1.477 GB, free: 6.992 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.043e-05/0.5235, allocations: 24.62 kB / 1.477 GB, free: 6.969 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009676/0.5245, allocations: 0.5968 MB / 1.477 GB, free: 6.332 MB / 1.17 GB Notification: Performance of pre-optimization done (n=83): time 2.875e-06/0.5245, allocations: 0 / 1.477 GB, free: 6.332 MB / 1.17 GB Notification: Performance of matching and sorting (n=83): time 0.003321/0.5278, allocations: 1.166 MB / 1.478 GB, free: 5.16 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.5279, allocations: 188.9 kB / 1.479 GB, free: 4.934 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009029/0.5288, allocations: 0.6683 MB / 1.479 GB, free: 4.258 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.672e-05/0.5289, allocations: 41.7 kB / 1.479 GB, free: 4.211 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003552/0.5292, allocations: 421 kB / 1.48 GB, free: 3.793 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.5295, allocations: 285.6 kB / 1.48 GB, free: 3.512 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.5297, allocations: 154.6 kB / 1.48 GB, free: 3.355 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.53, allocations: 382.8 kB / 1.48 GB, free: 2.973 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/0.5305, allocations: 261.9 kB / 1.481 GB, free: 2.715 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007395/0.5312, allocations: 0.5015 MB / 1.481 GB, free: 2.145 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.5324, allocations: 0.6228 MB / 1.482 GB, free: 1.504 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.5324, allocations: 4 kB / 1.482 GB, free: 1.5 MB / 1.17 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002068/0.5345, allocations: 0.8373 MB / 1.483 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5345, allocations: 8 kB / 1.483 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.5345, allocations: 0 / 1.483 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006375/0.5351, allocations: 88.95 kB / 1.483 GB, free: 0.5547 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/0.5358, allocations: 159.8 kB / 1.483 GB, free: 408 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.5381, allocations: 1.529 MB / 1.484 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007428/0.5389, allocations: 99.55 kB / 1.484 GB, free: 14.65 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/0.5389, allocations: 35.98 kB / 1.485 GB, free: 14.62 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (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 (92): * Single equations (assignments): 91 * 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.0004652/0.5394, allocations: 261.9 kB / 1.485 GB, free: 14.35 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.5396, allocations: 91.44 kB / 1.485 GB, free: 14.26 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/0.5421, allocations: 1.089 MB / 1.486 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.5421, allocations: 8 kB / 1.486 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.5421, allocations: 0 / 1.486 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.5422, allocations: 3.984 kB / 1.486 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003722/0.5459, allocations: 1.919 MB / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5459, allocations: 0 / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.5465, allocations: 151.7 kB / 1.488 GB, free: 11.02 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004475/0.5469, allocations: 76.77 kB / 1.488 GB, free: 10.95 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-05/0.547, allocations: 27.92 kB / 1.488 GB, free: 10.92 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.5491, allocations: 1.547 MB / 1.49 GB, free: 9.246 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5491, allocations: 0 / 1.49 GB, free: 9.246 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.5513, allocations: 1.022 MB / 1.491 GB, free: 8.211 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/0.5517, allocations: 203 kB / 1.491 GB, free: 8.012 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.5519, allocations: 23.98 kB / 1.491 GB, free: 7.988 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/0.5526, allocations: 67.94 kB / 1.491 GB, free: 7.922 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.5527, allocations: 76.8 kB / 1.491 GB, free: 7.844 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-05/0.5528, allocations: 35.97 kB / 1.491 GB, free: 7.809 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006622/0.5535, allocations: 483 kB / 1.491 GB, free: 7.34 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5535, allocations: 0 / 1.491 GB, free: 7.34 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009213/0.5544, allocations: 331.1 kB / 1.492 GB, free: 7.016 MB / 1.186 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.004495/0.5589, allocations: 2.117 MB / 1.494 GB, free: 5.086 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001777/0.5607, allocations: 0.796 MB / 1.495 GB, free: 4.277 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5607, allocations: 0 / 1.495 GB, free: 4.277 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009636/0.5616, allocations: 0.4967 MB / 1.495 GB, free: 3.77 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.563, allocations: 311.3 kB / 1.495 GB, free: 3.48 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.5744, allocations: 6.442 MB / 1.502 GB, free: 12.87 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.5749, allocations: 445 kB / 1.502 GB, free: 12.4 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000927/0.5759, allocations: 286.9 kB / 1.502 GB, free: 12.12 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006355/0.5765, allocations: 399.3 kB / 1.503 GB, free: 11.73 MB / 1.201 GB Notification: Performance of SimCode: time 9.01e-07/0.5765, allocations: 0 / 1.503 GB, free: 11.73 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05805/0.6345, allocations: 24.14 MB / 1.526 GB, free: 3.961 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.29, allocations: 21.31 kB / 1.526 GB, free: 3.945 MB / 1.217 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/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: 22.150232999003492]