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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 110 kB / 16.37 MB, free: 6.469 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.00162/0.00162, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.431/2.431, allocations: 442.6 MB / 0.7165 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001354, allocations: 69.22 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2689, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006739/0.2757, allocations: 4.948 MB / 1.032 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6182/0.8939, allocations: 150.6 MB / 1.179 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007713/0.8947, allocations: 20.38 kB / 1.179 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005217/0.8953, allocations: 193.8 kB / 1.179 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.8968, allocations: 0.5554 MB / 1.179 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.8988, allocations: 0.8536 MB / 1.18 GB, free: 5.781 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.9002, allocations: 1.426 MB / 1.182 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008246/0.901, allocations: 0.5991 MB / 1.182 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006361/0.9017, allocations: 0.4919 MB / 1.183 GB, free: 4.238 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005595/0.9023, allocations: 0.5158 MB / 1.183 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.9024, allocations: 121.3 kB / 1.183 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008402/0.9033, allocations: 484.2 kB / 1.184 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.9035, allocations: 306.3 kB / 1.184 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000474/0.904, allocations: 0.5669 MB / 1.185 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.9056, allocations: 1.653 MB / 1.186 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9056, allocations: 0 / 1.186 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9056, allocations: 3.938 kB / 1.186 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.9057, allocations: 0 / 1.186 GB, free: 1.855 MB / 0.8887 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.002466/0.9081, allocations: 1.456 MB / 1.188 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.9082, allocations: 13.86 kB / 1.188 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.9094, allocations: 238.5 kB / 1.188 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.9106, allocations: 0.7722 MB / 1.189 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.481e-05/0.9107, allocations: 66.19 kB / 1.189 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.9108, allocations: 84.41 kB / 1.189 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.9124, allocations: 0.9841 MB / 1.19 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.9125, allocations: 1.781 kB / 1.19 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.033e-05/0.9125, allocations: 41.16 kB / 1.19 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.9126, allocations: 20.84 kB / 1.19 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.9145, allocations: 1.163 MB / 1.191 GB, free: 14.67 MB / 0.9044 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.004274/0.9187, allocations: 2.996 MB / 1.194 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.9204, allocations: 0.9541 MB / 1.195 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005336/0.921, allocations: 315.8 kB / 1.195 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.981e-05/0.921, allocations: 34.17 kB / 1.195 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008352/0.9219, allocations: 0.4934 MB / 1.196 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=83): time 2.935e-06/0.9219, allocations: 0 / 1.196 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=83): time 0.003052/0.925, allocations: 1.23 MB / 1.197 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.9251, allocations: 197.6 kB / 1.197 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007072/0.9258, allocations: 0.6343 MB / 1.198 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.267e-05/0.9259, allocations: 47.39 kB / 1.198 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.9262, allocations: 405.3 kB / 1.198 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.9264, allocations: 268 kB / 1.198 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/0.9266, allocations: 171.6 kB / 1.198 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.9268, allocations: 383.4 kB / 1.199 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.9273, allocations: 275.8 kB / 1.199 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/0.9279, allocations: 392.7 kB / 1.199 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.929, allocations: 0.6511 MB / 1.2 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.929, allocations: 0 / 1.2 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001888/0.9309, allocations: 0.8906 MB / 1.201 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.931, allocations: 4.875 kB / 1.201 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.931, allocations: 2.375 kB / 1.201 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/0.9316, allocations: 82.88 kB / 1.201 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/0.9322, allocations: 169.2 kB / 1.201 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.9343, allocations: 1.64 MB / 1.203 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000792/0.9351, allocations: 96.97 kB / 1.203 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/0.9352, allocations: 41.38 kB / 1.203 GB, free: 5.844 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (100): * Single equations (assignments): 99 * 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.0004142/0.9356, allocations: 274.8 kB / 1.203 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.9358, allocations: 88.23 kB / 1.203 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.938, allocations: 1.081 MB / 1.204 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.938, allocations: 14.19 kB / 1.204 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.938, allocations: 0 / 1.204 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.9381, allocations: 7.922 kB / 1.204 GB, free: 4.969 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/0.9414, allocations: 2.096 MB / 1.206 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.9414, allocations: 0 / 1.206 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/0.942, allocations: 148 kB / 1.207 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004245/0.9424, allocations: 74.25 kB / 1.207 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.844e-05/0.9425, allocations: 27.73 kB / 1.207 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.9442, allocations: 1.657 MB / 1.208 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.9442, allocations: 2.844 kB / 1.208 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.9461, allocations: 1.018 MB / 1.209 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/0.9466, allocations: 267.1 kB / 1.21 GB, free: 1.027 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.9467, allocations: 21.69 kB / 1.21 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006595/0.9474, allocations: 71.23 kB / 1.21 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.9475, allocations: 65.28 kB / 1.21 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/0.9476, allocations: 41.12 kB / 1.21 GB, free: 0.9297 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000508/0.9481, allocations: 461.5 kB / 1.21 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9481, allocations: 0 / 1.21 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009003/0.949, allocations: 335.7 kB / 1.21 GB, free: 360 kB / 0.9044 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.001298/0.9503, allocations: 0.615 MB / 1.211 GB, free: 15.91 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.952, allocations: 0.8439 MB / 1.212 GB, free: 15.06 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.952, allocations: 384 / 1.212 GB, free: 15.06 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009133/0.953, allocations: 0.5392 MB / 1.212 GB, free: 14.5 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.9543, allocations: 322.4 kB / 1.213 GB, free: 14.21 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.957, allocations: 1.657 MB / 1.214 GB, free: 12.53 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.9576, allocations: 1.031 MB / 1.215 GB, free: 11.46 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007627/0.9583, allocations: 270.8 kB / 1.216 GB, free: 11.2 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.9586, allocations: 103.4 kB / 1.216 GB, free: 11.09 MB / 0.92 GB Notification: Performance of SimCode: time 5.31e-07/0.9586, allocations: 0 / 1.216 GB, free: 11.09 MB / 0.92 GB Notification: Performance of Templates: time 0.02473/0.9833, allocations: 15.74 MB / 1.231 GB, free: 11.52 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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