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: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009026/0.009026, allocations: 101.4 kB / 15.73 MB, free: 6.059 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.001985/0.001986, allocations: 189.8 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.18 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.076/2.076, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 0.9504 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7197/0.721, allocations: 140.4 MB / 1.087 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005078/0.7261, allocations: 4.428 MB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1605/0.8867, allocations: 150.6 MB / 1.239 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.8881, allocations: 16.91 kB / 1.239 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000979/0.8892, allocations: 176.5 kB / 1.239 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.8918, allocations: 0.5219 MB / 1.24 GB, free: 384 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.8944, allocations: 0.8425 MB / 1.24 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001846/0.8963, allocations: 1.341 MB / 1.242 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.8975, allocations: 0.6605 MB / 1.242 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008786/0.8983, allocations: 492.7 kB / 1.243 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008515/0.8992, allocations: 0.5037 MB / 1.243 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002904/0.8995, allocations: 117.3 kB / 1.243 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.9007, allocations: 485.3 kB / 1.244 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.901, allocations: 306.3 kB / 1.244 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007744/0.9018, allocations: 0.5583 MB / 1.245 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002795/0.9046, allocations: 1.635 MB / 1.246 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.9046, allocations: 0 / 1.246 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9046, allocations: 0 / 1.246 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.434e-05/0.9047, allocations: 0 / 1.246 GB, free: 11.3 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.004261/0.909, allocations: 1.443 MB / 1.248 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.9091, allocations: 16.03 kB / 1.248 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002929/0.9094, allocations: 139.6 kB / 1.248 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.9108, allocations: 235.2 kB / 1.248 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.9124, allocations: 0.7693 MB / 1.249 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.633e-05/0.9125, allocations: 62 kB / 1.249 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.9127, allocations: 84 kB / 1.249 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.9143, allocations: 0.9872 MB / 1.25 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.9143, allocations: 7.938 kB / 1.25 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/0.9144, allocations: 36 kB / 1.25 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.9144, allocations: 20 kB / 1.25 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.9162, allocations: 1.171 MB / 1.251 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00364/0.9199, allocations: 2.797 MB / 1.254 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.9215, allocations: 0.9338 MB / 1.255 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005037/0.9221, allocations: 326.5 kB / 1.255 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-05/0.9222, allocations: 28.61 kB / 1.255 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007946/0.923, allocations: 0.4964 MB / 1.256 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 2.455e-06/0.923, allocations: 0 / 1.256 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.00297/0.9259, allocations: 1.224 MB / 1.257 GB, free: 244 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.9261, allocations: 196.9 kB / 1.257 GB, free: 4 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007163/0.9268, allocations: 0.6255 MB / 1.258 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.9269, allocations: 45.69 kB / 1.258 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.9271, allocations: 412.2 kB / 1.258 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.9273, allocations: 272.1 kB / 1.258 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.9276, allocations: 154.5 kB / 1.258 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.9277, allocations: 382.8 kB / 1.259 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/0.9282, allocations: 253.9 kB / 1.259 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/0.9288, allocations: 393 kB / 1.259 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.9298, allocations: 0.6111 MB / 1.26 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.9298, allocations: 3.984 kB / 1.26 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001707/0.9315, allocations: 0.833 MB / 1.261 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.9315, allocations: 4 kB / 1.261 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.9316, allocations: 0 / 1.261 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005661/0.9321, allocations: 88.95 kB / 1.261 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.9328, allocations: 155.8 kB / 1.261 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.9347, allocations: 1.634 MB / 1.263 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.9352, allocations: 97.86 kB / 1.263 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.9353, allocations: 35.98 kB / 1.263 GB, free: 9.793 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: 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.000313/0.9356, allocations: 266.1 kB / 1.263 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.9358, allocations: 82.97 kB / 1.263 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.9379, allocations: 1.081 MB / 1.264 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.938, allocations: 15.98 kB / 1.264 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.938, allocations: 3.938 kB / 1.264 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.938, allocations: 7.984 kB / 1.264 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/0.9411, allocations: 2.096 MB / 1.266 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.9411, allocations: 0 / 1.266 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.9417, allocations: 151.8 kB / 1.266 GB, free: 6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.9421, allocations: 76.72 kB / 1.266 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-05/0.9422, allocations: 23.98 kB / 1.266 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/0.9439, allocations: 1.658 MB / 1.268 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.9439, allocations: 0 / 1.268 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.9457, allocations: 1.014 MB / 1.269 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.946, allocations: 275.7 kB / 1.269 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.715e-05/0.9461, allocations: 20 kB / 1.269 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005823/0.9467, allocations: 59.94 kB / 1.269 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.9469, allocations: 80.83 kB / 1.269 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.857e-05/0.947, allocations: 39.91 kB / 1.27 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004904/0.9475, allocations: 463 kB / 1.27 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9475, allocations: 0 / 1.27 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007642/0.9482, allocations: 311.3 kB / 1.27 GB, free: 1.828 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.003196/0.9514, allocations: 2.061 MB / 1.272 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.9529, allocations: 0.8156 MB / 1.273 GB, free: 15.09 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9529, allocations: 4.312 kB / 1.273 GB, free: 15.08 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008277/0.9538, allocations: 0.5275 MB / 1.274 GB, free: 14.54 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.9548, allocations: 314.2 kB / 1.274 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009694/0.9646, allocations: 6.443 MB / 1.28 GB, free: 7.645 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.9651, allocations: 1.035 MB / 1.281 GB, free: 6.582 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007449/0.9658, allocations: 266.9 kB / 1.281 GB, free: 6.316 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004907/0.9663, allocations: 387.3 kB / 1.282 GB, free: 5.938 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/0.9663, allocations: 0 / 1.282 GB, free: 5.938 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04976/1.016, allocations: 21.89 MB / 1.303 GB, free: 352 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.67, allocations: 21.59 kB / 1.303 GB, free: 332 kB / 1.029 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches