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: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_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.005148/0.005148, allocations: 102.5 kB / 15.73 MB, free: 6.047 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.001169/0.001169, allocations: 196.8 kB / 16.68 MB, free: 5.961 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.596/2.596, allocations: 461.9 MB / 0.7348 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2659, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006127/0.2721, allocations: 4.926 MB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.713/0.9851, allocations: 150.6 MB / 1.359 GB, free: 9.305 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007662/0.9859, allocations: 15.88 kB / 1.359 GB, free: 9.301 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007108/0.9866, allocations: 196.1 kB / 1.359 GB, free: 9.176 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.9886, allocations: 0.5541 MB / 1.36 GB, free: 8.855 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.9907, allocations: 0.8539 MB / 1.361 GB, free: 8.418 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.9927, allocations: 1.422 MB / 1.362 GB, free: 7.684 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.9937, allocations: 0.6033 MB / 1.363 GB, free: 7.367 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008918/0.9946, allocations: 0.4971 MB / 1.363 GB, free: 7.121 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008548/0.9955, allocations: 0.5166 MB / 1.364 GB, free: 6.848 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002909/0.9958, allocations: 117.7 kB / 1.364 GB, free: 6.848 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.997, allocations: 487.3 kB / 1.364 GB, free: 6.738 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003577/0.9974, allocations: 301.1 kB / 1.365 GB, free: 6.551 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008243/0.9982, allocations: 0.5755 MB / 1.365 GB, free: 6.168 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002304/1.001, allocations: 1.653 MB / 1.367 GB, free: 5.469 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.001, allocations: 0 / 1.367 GB, free: 5.469 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.154e-06/1.001, allocations: 1.281 kB / 1.367 GB, free: 5.469 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.376e-05/1.001, allocations: 0 / 1.367 GB, free: 5.469 MB / 1.061 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.003618/1.004, allocations: 1.47 MB / 1.368 GB, free: 4.477 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/1.004, allocations: 10.69 kB / 1.368 GB, free: 4.477 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002361/1.005, allocations: 140.3 kB / 1.368 GB, free: 4.383 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/1.006, allocations: 225.8 kB / 1.369 GB, free: 4.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/1.007, allocations: 0.7816 MB / 1.369 GB, free: 3.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.569e-05/1.007, allocations: 67.11 kB / 1.369 GB, free: 3.789 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/1.008, allocations: 84.12 kB / 1.369 GB, free: 3.762 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/1.01, allocations: 0.9783 MB / 1.37 GB, free: 3.305 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/1.01, allocations: 5.062 kB / 1.37 GB, free: 3.301 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/1.01, allocations: 40.47 kB / 1.37 GB, free: 3.273 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/1.01, allocations: 21.56 kB / 1.37 GB, free: 3.273 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/1.012, allocations: 1.158 MB / 1.372 GB, free: 2.902 MB / 1.061 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.004645/1.016, allocations: 3.007 MB / 1.375 GB, free: 452 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/1.018, allocations: 0.9472 MB / 1.375 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005375/1.019, allocations: 314 kB / 1.376 GB, free: 15.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.064e-05/1.019, allocations: 34.94 kB / 1.376 GB, free: 15.73 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008691/1.02, allocations: 0.4975 MB / 1.376 GB, free: 15.41 MB / 1.076 GB Notification: Performance of pre-optimization done (n=83): time 3.938e-06/1.02, allocations: 0 / 1.376 GB, free: 15.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=83): time 0.00334/1.023, allocations: 1.226 MB / 1.377 GB, free: 14.75 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.788e-05/1.023, allocations: 197.6 kB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009695/1.024, allocations: 0.6357 MB / 1.378 GB, free: 14.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-05/1.024, allocations: 42.86 kB / 1.378 GB, free: 14.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/1.025, allocations: 413.6 kB / 1.379 GB, free: 13.73 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/1.025, allocations: 266.5 kB / 1.379 GB, free: 13.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/1.025, allocations: 154.8 kB / 1.379 GB, free: 13.41 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.025, allocations: 388.6 kB / 1.379 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005175/1.026, allocations: 261.3 kB / 1.38 GB, free: 12.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/1.027, allocations: 381.2 kB / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/1.028, allocations: 0.6216 MB / 1.381 GB, free: 12.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.028, allocations: 5.156 kB / 1.381 GB, free: 12.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002043/1.03, allocations: 0.8309 MB / 1.382 GB, free: 11.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.03, allocations: 14.17 kB / 1.382 GB, free: 11.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.03, allocations: 4.328 kB / 1.382 GB, free: 11.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/1.03, allocations: 89.42 kB / 1.382 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/1.031, allocations: 164.2 kB / 1.382 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/1.033, allocations: 1.628 MB / 1.383 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008144/1.034, allocations: 91.16 kB / 1.383 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.69e-05/1.034, allocations: 33.78 kB / 1.383 GB, free: 10.11 MB / 1.076 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.0004885/1.035, allocations: 273.6 kB / 1.384 GB, free: 9.898 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/1.035, allocations: 88.08 kB / 1.384 GB, free: 9.852 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/1.037, allocations: 1.093 MB / 1.385 GB, free: 9.242 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/1.037, allocations: 12.53 kB / 1.385 GB, free: 9.238 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/1.037, allocations: 0 / 1.385 GB, free: 9.238 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/1.037, allocations: 5.297 kB / 1.385 GB, free: 9.234 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/1.041, allocations: 2.103 MB / 1.387 GB, free: 7.809 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.041, allocations: 1.281 kB / 1.387 GB, free: 7.809 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005944/1.042, allocations: 150.7 kB / 1.387 GB, free: 7.773 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004412/1.042, allocations: 69.91 kB / 1.387 GB, free: 7.738 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.527e-05/1.042, allocations: 28.91 kB / 1.387 GB, free: 7.719 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/1.044, allocations: 1.665 MB / 1.389 GB, free: 6.098 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.044, allocations: 1.125 kB / 1.389 GB, free: 6.098 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/1.046, allocations: 1.011 MB / 1.39 GB, free: 5.527 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/1.047, allocations: 276.5 kB / 1.39 GB, free: 5.285 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/1.047, allocations: 24.58 kB / 1.39 GB, free: 5.266 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000716/1.048, allocations: 60.62 kB / 1.39 GB, free: 5.238 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/1.048, allocations: 74.3 kB / 1.39 GB, free: 5.199 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.53e-05/1.048, allocations: 40.27 kB / 1.39 GB, free: 5.184 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000601/1.049, allocations: 457.9 kB / 1.391 GB, free: 4.926 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.6e-07/1.049, allocations: 4 kB / 1.391 GB, free: 4.922 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009839/1.05, allocations: 329 kB / 1.391 GB, free: 4.828 MB / 1.076 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.003575/1.053, allocations: 2.069 MB / 1.393 GB, free: 3.527 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001731/1.055, allocations: 0.8195 MB / 1.394 GB, free: 3.098 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.269e-06/1.055, allocations: 1.281 kB / 1.394 GB, free: 3.098 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009377/1.056, allocations: 0.5335 MB / 1.394 GB, free: 2.793 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/1.057, allocations: 313.1 kB / 1.395 GB, free: 2.633 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/1.067, allocations: 6.332 MB / 1.401 GB, free: 14.69 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/1.068, allocations: 1.03 MB / 1.402 GB, free: 13.85 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008344/1.069, allocations: 264.8 kB / 1.402 GB, free: 13.71 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005416/1.07, allocations: 394.7 kB / 1.402 GB, free: 13.4 MB / 1.092 GB Notification: Performance of SimCode: time 9.42e-07/1.07, allocations: 0 / 1.402 GB, free: 13.4 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05149/1.121, allocations: 22.77 MB / 1.425 GB, free: 7.73 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.51, allocations: 10.23 kB / 1.425 GB, free: 7.73 MB / 1.107 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > 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