Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_10_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.007938/0.007939, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.002197/0.002197, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.558/2.558, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2932, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006425/0.2997, allocations: 4.933 MB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7781/1.078, allocations: 150.6 MB / 1.318 GB, free: 10.27 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/1.079, allocations: 20.41 kB / 1.318 GB, free: 10.26 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009369/1.08, allocations: 192.2 kB / 1.318 GB, free: 10.15 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00243/1.082, allocations: 0.5606 MB / 1.319 GB, free: 9.902 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00263/1.085, allocations: 0.8463 MB / 1.32 GB, free: 9.746 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002257/1.087, allocations: 1.422 MB / 1.321 GB, free: 9.48 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/1.088, allocations: 0.6017 MB / 1.322 GB, free: 9.328 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009916/1.089, allocations: 0.5042 MB / 1.322 GB, free: 9.219 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/1.091, allocations: 0.5179 MB / 1.323 GB, free: 9.082 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002708/1.091, allocations: 117.6 kB / 1.323 GB, free: 9.082 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/1.092, allocations: 487.6 kB / 1.323 GB, free: 9.055 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003168/1.092, allocations: 300 kB / 1.323 GB, free: 9 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006723/1.093, allocations: 0.5762 MB / 1.324 GB, free: 8.66 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002568/1.096, allocations: 1.656 MB / 1.326 GB, free: 7.961 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.096, allocations: 0.6562 kB / 1.326 GB, free: 7.961 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.824e-06/1.096, allocations: 0 / 1.326 GB, free: 7.961 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.298e-05/1.096, allocations: 0 / 1.326 GB, free: 7.961 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.003101/1.099, allocations: 1.469 MB / 1.327 GB, free: 6.973 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.099, allocations: 10.23 kB / 1.327 GB, free: 6.973 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002113/1.099, allocations: 138.1 kB / 1.327 GB, free: 6.879 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/1.1, allocations: 232.5 kB / 1.327 GB, free: 6.812 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/1.102, allocations: 0.7795 MB / 1.328 GB, free: 6.309 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/1.102, allocations: 66.41 kB / 1.328 GB, free: 6.281 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/1.102, allocations: 85.44 kB / 1.328 GB, free: 6.254 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/1.104, allocations: 0.9803 MB / 1.329 GB, free: 5.793 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/1.104, allocations: 1.062 kB / 1.329 GB, free: 5.793 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.16e-05/1.104, allocations: 41.22 kB / 1.329 GB, free: 5.762 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/1.104, allocations: 25.78 kB / 1.329 GB, free: 5.758 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/1.106, allocations: 1.154 MB / 1.331 GB, free: 5.5 MB / 1.014 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.004679/1.111, allocations: 3.012 MB / 1.333 GB, free: 3.562 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/1.113, allocations: 0.9427 MB / 1.334 GB, free: 3.148 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/1.113, allocations: 312.1 kB / 1.335 GB, free: 3.031 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.41e-05/1.113, allocations: 37.69 kB / 1.335 GB, free: 3.016 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008992/1.114, allocations: 0.5007 MB / 1.335 GB, free: 2.805 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.474e-06/1.114, allocations: 4.875 kB / 1.335 GB, free: 2.805 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.003366/1.117, allocations: 1.221 MB / 1.336 GB, free: 2.297 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.118, allocations: 190.5 kB / 1.337 GB, free: 2.074 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009475/1.119, allocations: 0.6358 MB / 1.337 GB, free: 1.793 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.485e-05/1.119, allocations: 47.17 kB / 1.337 GB, free: 1.746 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/1.119, allocations: 408.8 kB / 1.338 GB, free: 1.426 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/1.119, allocations: 274.2 kB / 1.338 GB, free: 1.211 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/1.12, allocations: 153.2 kB / 1.338 GB, free: 1.141 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.12, allocations: 391 kB / 1.338 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/1.12, allocations: 256.5 kB / 1.339 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006415/1.121, allocations: 382.9 kB / 1.339 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/1.122, allocations: 0.6216 MB / 1.34 GB, free: 188 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/1.122, allocations: 0 / 1.34 GB, free: 188 kB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002057/1.124, allocations: 0.8325 MB / 1.34 GB, free: 15.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.124, allocations: 11.91 kB / 1.34 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.124, allocations: 5.516 kB / 1.34 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005831/1.125, allocations: 84.19 kB / 1.341 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006612/1.125, allocations: 165.8 kB / 1.341 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/1.128, allocations: 1.631 MB / 1.342 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008407/1.128, allocations: 96.06 kB / 1.342 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/1.129, allocations: 32.28 kB / 1.342 GB, free: 14.21 MB / 1.029 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.0005544/1.129, allocations: 268.9 kB / 1.343 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/1.129, allocations: 91.88 kB / 1.343 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/1.132, allocations: 1.085 MB / 1.344 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/1.132, allocations: 11.38 kB / 1.344 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/1.132, allocations: 0 / 1.344 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.132, allocations: 4.828 kB / 1.344 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003858/1.136, allocations: 2.098 MB / 1.346 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/1.136, allocations: 1.094 kB / 1.346 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/1.136, allocations: 147 kB / 1.346 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/1.137, allocations: 75.03 kB / 1.346 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.3e-05/1.137, allocations: 24.88 kB / 1.346 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/1.139, allocations: 1.667 MB / 1.348 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.139, allocations: 2.438 kB / 1.348 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/1.141, allocations: 1.015 MB / 1.349 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005016/1.142, allocations: 271.2 kB / 1.349 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/1.142, allocations: 18.38 kB / 1.349 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006446/1.143, allocations: 69.48 kB / 1.349 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/1.143, allocations: 70.03 kB / 1.349 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/1.143, allocations: 45.38 kB / 1.349 GB, free: 10.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000655/1.144, allocations: 458.4 kB / 1.35 GB, free: 9.965 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.71e-07/1.144, allocations: 0 / 1.35 GB, free: 9.965 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001158/1.145, allocations: 331 kB / 1.35 GB, free: 9.875 MB / 1.029 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.003898/1.149, allocations: 2.069 MB / 1.352 GB, free: 8.699 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001878/1.15, allocations: 0.8209 MB / 1.353 GB, free: 8.363 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.151, allocations: 1.438 kB / 1.353 GB, free: 8.363 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/1.152, allocations: 0.5287 MB / 1.353 GB, free: 8.113 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.153, allocations: 328.7 kB / 1.354 GB, free: 8.008 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/1.164, allocations: 6.329 MB / 1.36 GB, free: 4.535 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006348/1.165, allocations: 1.029 MB / 1.361 GB, free: 3.688 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009639/1.166, allocations: 275.3 kB / 1.361 GB, free: 3.547 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005647/1.166, allocations: 400.5 kB / 1.361 GB, free: 3.227 MB / 1.029 GB Notification: Performance of SimCode: time 9.42e-07/1.166, allocations: 2.5 kB / 1.361 GB, free: 3.227 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05817/1.224, allocations: 22.3 MB / 1.383 GB, free: 6.023 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.89, allocations: 3.938 kB / 1.383 GB, free: 6.02 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches