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.001071/0.001071, allocations: 98.88 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 182.7 kB / 16.92 MB, free: 6.914 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.529/1.529, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.705/2.705, allocations: 462.7 MB / 0.7371 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003732, allocations: 7.594 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3184, allocations: 159.6 MB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005908/0.3244, allocations: 4.517 MB / 1.064 GB, free: 492 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1637/0.4881, allocations: 146.7 MB / 1.207 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.4893, allocations: 19.88 kB / 1.207 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008133/0.4901, allocations: 150.8 kB / 1.207 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.4922, allocations: 476.6 kB / 1.208 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.4945, allocations: 0.7363 MB / 1.208 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001974/0.4965, allocations: 1.33 MB / 1.21 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.4976, allocations: 0.575 MB / 1.21 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008446/0.4985, allocations: 362.3 kB / 1.211 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007802/0.4993, allocations: 405.8 kB / 1.211 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.4995, allocations: 28 kB / 1.211 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.5006, allocations: 363.6 kB / 1.211 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003031/0.5009, allocations: 191.1 kB / 1.212 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007068/0.5016, allocations: 482.8 kB / 1.212 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.5033, allocations: 1.181 MB / 1.213 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5033, allocations: 0 / 1.213 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5033, allocations: 0 / 1.213 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.136e-05/0.5034, allocations: 0 / 1.213 GB, free: 6.891 MB / 0.9669 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.003061/0.5065, allocations: 1.248 MB / 1.214 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.5065, allocations: 8.031 kB / 1.214 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.508, allocations: 259.3 kB / 1.215 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.5095, allocations: 0.746 MB / 1.215 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.091e-05/0.5095, allocations: 66 kB / 1.215 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.5097, allocations: 84 kB / 1.215 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.5117, allocations: 0.999 MB / 1.216 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.5118, allocations: 0 / 1.216 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-05/0.5119, allocations: 39.98 kB / 1.216 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.5119, allocations: 20 kB / 1.216 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.5139, allocations: 1.178 MB / 1.218 GB, free: 2.113 MB / 0.9669 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.004638/0.5186, allocations: 3.076 MB / 1.221 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.5205, allocations: 0.9655 MB / 1.222 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/0.521, allocations: 315.9 kB / 1.222 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-05/0.5211, allocations: 32.59 kB / 1.222 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009146/0.522, allocations: 0.5003 MB / 1.222 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 2.564e-06/0.522, allocations: 3.938 kB / 1.222 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003204/0.5253, allocations: 1.255 MB / 1.224 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.5254, allocations: 188.9 kB / 1.224 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007929/0.5262, allocations: 0.6332 MB / 1.224 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/0.5263, allocations: 41.7 kB / 1.224 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.5266, allocations: 408.3 kB / 1.225 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.5268, allocations: 272.1 kB / 1.225 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.5269, allocations: 77.61 kB / 1.225 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5271, allocations: 386.8 kB / 1.226 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/0.5277, allocations: 285.8 kB / 1.226 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006383/0.5283, allocations: 385.7 kB / 1.226 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.5295, allocations: 0.658 MB / 1.227 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5295, allocations: 0 / 1.227 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001952/0.5314, allocations: 0.8916 MB / 1.228 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.5315, allocations: 4 kB / 1.228 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5315, allocations: 8.125 kB / 1.228 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/0.5321, allocations: 84.77 kB / 1.228 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/0.5328, allocations: 175.7 kB / 1.228 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.5349, allocations: 1.527 MB / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007957/0.5357, allocations: 111.3 kB / 1.23 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.107e-05/0.5358, allocations: 39.97 kB / 1.23 GB, free: 5.363 MB / 0.9825 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.0004535/0.5363, allocations: 283.2 kB / 1.23 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.5364, allocations: 82.97 kB / 1.23 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.5388, allocations: 1.093 MB / 1.231 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.5388, allocations: 11.94 kB / 1.231 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.5388, allocations: 0 / 1.231 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.5389, allocations: 3.984 kB / 1.231 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003529/0.5424, allocations: 2.11 MB / 1.233 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5424, allocations: 4 kB / 1.233 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.543, allocations: 147.8 kB / 1.233 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005222/0.5435, allocations: 84.77 kB / 1.233 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.737e-05/0.5436, allocations: 31.92 kB / 1.233 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.5455, allocations: 1.552 MB / 1.235 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5455, allocations: 0 / 1.235 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.5475, allocations: 1.023 MB / 1.236 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/0.5479, allocations: 287.7 kB / 1.236 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.5481, allocations: 19.98 kB / 1.236 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007214/0.5488, allocations: 87.98 kB / 1.236 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.549, allocations: 76.88 kB / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.101e-05/0.549, allocations: 31.98 kB / 1.236 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005867/0.5496, allocations: 459 kB / 1.237 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5496, allocations: 0 / 1.237 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009236/0.5506, allocations: 339.1 kB / 1.237 GB, free: 13.4 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.001436/0.552, allocations: 0.6057 MB / 1.238 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001721/0.5537, allocations: 0.8628 MB / 1.239 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5538, allocations: 3.938 kB / 1.239 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009338/0.5547, allocations: 0.5276 MB / 1.239 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.5561, allocations: 288.5 kB / 1.239 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.5593, allocations: 2.168 MB / 1.241 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/0.5599, allocations: 1.032 MB / 1.242 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.5603, allocations: 119.4 kB / 1.243 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of SimCode: time 6.62e-07/0.5603, allocations: 0 / 1.243 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of Templates: time 0.5783/1.139, allocations: 18.73 MB / 1.261 GB, free: 184.3 MB / 0.9981 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 -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