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.008703/0.008704, allocations: 105.6 kB / 15.74 MB, free: 6.035 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.001684/0.001684, allocations: 195.6 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.885/1.885, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.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.335/2.335, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 65.81 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3785, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007579/0.3862, allocations: 4.435 MB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2034/0.5896, allocations: 150.6 MB / 1.239 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.5908, allocations: 15.94 kB / 1.239 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008917/0.5917, allocations: 174.3 kB / 1.239 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.5942, allocations: 0.5062 MB / 1.239 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.5969, allocations: 0.8482 MB / 1.24 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002263/0.5992, allocations: 1.343 MB / 1.242 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.6007, allocations: 0.6414 MB / 1.242 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.6019, allocations: 0.4944 MB / 1.243 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.6029, allocations: 0.4978 MB / 1.243 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003537/0.6033, allocations: 116 kB / 1.243 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.6047, allocations: 483.6 kB / 1.244 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004877/0.6052, allocations: 303.1 kB / 1.244 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009118/0.6061, allocations: 0.5596 MB / 1.245 GB, free: 408 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.6091, allocations: 1.628 MB / 1.246 GB, free: 14.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.6091, allocations: 4 kB / 1.246 GB, free: 14.76 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6091, allocations: 0 / 1.246 GB, free: 14.76 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.94e-05/0.6092, allocations: 3.938 kB / 1.246 GB, free: 14.76 MB / 1.014 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.003918/0.6131, allocations: 1.446 MB / 1.248 GB, free: 13.26 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.6132, allocations: 12.02 kB / 1.248 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002535/0.6134, allocations: 139.7 kB / 1.248 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.6149, allocations: 231.3 kB / 1.248 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.6168, allocations: 0.7654 MB / 1.249 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.397e-05/0.6169, allocations: 69.98 kB / 1.249 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.6171, allocations: 87.98 kB / 1.249 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.6192, allocations: 0.9872 MB / 1.25 GB, free: 10.88 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.6193, allocations: 0 / 1.25 GB, free: 10.88 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.6194, allocations: 36 kB / 1.25 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.6194, allocations: 24 kB / 1.25 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.6217, allocations: 1.167 MB / 1.251 GB, free: 9.648 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005769/0.6275, allocations: 2.797 MB / 1.254 GB, free: 6.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.6296, allocations: 0.9416 MB / 1.255 GB, free: 5.805 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007192/0.6304, allocations: 310.6 kB / 1.255 GB, free: 5.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/0.6306, allocations: 32.61 kB / 1.255 GB, free: 5.469 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.6317, allocations: 0.496 MB / 1.256 GB, free: 4.953 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 4.018e-06/0.6317, allocations: 0 / 1.256 GB, free: 4.953 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.004256/0.636, allocations: 1.227 MB / 1.257 GB, free: 3.703 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.6362, allocations: 200.9 kB / 1.257 GB, free: 3.465 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.6374, allocations: 0.6293 MB / 1.258 GB, free: 2.828 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.6375, allocations: 41.7 kB / 1.258 GB, free: 2.781 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006194/0.6381, allocations: 416.2 kB / 1.258 GB, free: 2.367 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.6384, allocations: 264.2 kB / 1.258 GB, free: 2.105 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003091/0.6388, allocations: 154.5 kB / 1.258 GB, free: 1.945 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002333/0.639, allocations: 386.8 kB / 1.259 GB, free: 1.559 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000604/0.6396, allocations: 253.9 kB / 1.259 GB, free: 1.312 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006923/0.6403, allocations: 377.1 kB / 1.259 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.6416, allocations: 0.619 MB / 1.26 GB, free: 272 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.6416, allocations: 4 kB / 1.26 GB, free: 268 kB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.7399/1.381, allocations: 0.8349 MB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/1.382, allocations: 7.75 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/1.382, allocations: 2.172 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007093/1.382, allocations: 81.52 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008173/1.383, allocations: 161.1 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/1.385, allocations: 1.628 MB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009164/1.386, allocations: 93.12 kB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.386, allocations: 35.98 kB / 1.263 GB, free: 172.2 MB / 1.014 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.0005585/1.387, allocations: 272 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/1.387, allocations: 86.28 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/1.39, allocations: 1.09 MB / 1.264 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/1.39, allocations: 9.281 kB / 1.264 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.39, allocations: 0 / 1.264 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/1.39, allocations: 9.703 kB / 1.264 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004741/1.395, allocations: 2.095 MB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/1.395, allocations: 0.7812 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006942/1.396, allocations: 151.9 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004998/1.396, allocations: 74.53 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.514e-05/1.396, allocations: 35.28 kB / 1.266 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/1.398, allocations: 1.658 MB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.398, allocations: 0.8125 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/1.401, allocations: 1.013 MB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005615/1.401, allocations: 274.3 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/1.402, allocations: 26.23 kB / 1.269 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007005/1.402, allocations: 60.88 kB / 1.269 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/1.403, allocations: 74.08 kB / 1.269 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.06e-05/1.403, allocations: 33.14 kB / 1.27 GB, free: 168.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008327/1.403, allocations: 466.6 kB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.8e-07/1.403, allocations: 0 / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001375/1.405, allocations: 308.8 kB / 1.27 GB, free: 168.6 MB / 1.014 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.004384/1.409, allocations: 2.07 MB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002447/1.412, allocations: 0.8154 MB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.412, allocations: 5.094 kB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/1.413, allocations: 0.5245 MB / 1.274 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/1.416, allocations: 320.3 kB / 1.274 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/1.432, allocations: 6.434 MB / 1.28 GB, free: 163.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007563/1.433, allocations: 1.035 MB / 1.281 GB, free: 162.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001063/1.434, allocations: 270.8 kB / 1.281 GB, free: 162.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005691/1.435, allocations: 393 kB / 1.282 GB, free: 162.5 MB / 1.014 GB Notification: Performance of SimCode: time 7.91e-07/1.435, allocations: 0 / 1.282 GB, free: 162.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6642/2.099, allocations: 22.32 MB / 1.304 GB, free: 154.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.54/29.64, allocations: 11.16 kB / 1.304 GB, free: 154.9 MB / 1.014 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