Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006701/0.006706, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001381/0.001381, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.438/1.438, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.389/2.389, allocations: 390.2 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6566/0.6582, allocations: 140.3 MB / 0.9496 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002405/0.6606, allocations: 1.659 MB / 0.9512 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000677/0.6613, allocations: 0.5371 MB / 0.9517 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.6614, allocations: 0 / 0.9517 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.6614, allocations: 5.078 kB / 0.9517 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.6617, allocations: 39.2 kB / 0.9518 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.409e-05/0.6618, allocations: 39.52 kB / 0.9518 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.6619, allocations: 104.8 kB / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.827e-05/0.662, allocations: 20.41 kB / 0.9519 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.6621, allocations: 43.25 kB / 0.952 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.6622, allocations: 48.05 kB / 0.952 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.6622, allocations: 9.062 kB / 0.952 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.132e-05/0.6622, allocations: 4.812 kB / 0.952 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.6623, allocations: 26.92 kB / 0.952 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.6623, allocations: 37.86 kB / 0.9521 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.293e-05/0.6624, allocations: 69.94 kB / 0.9522 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6624, allocations: 1.312 kB / 0.9522 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.12e-07/0.6624, allocations: 0 / 0.9522 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.6624, allocations: 0 / 0.9522 GB, free: 7.105 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006262/0.6631, allocations: 404 kB / 0.9525 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.6631, allocations: 9.5 kB / 0.9525 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.6632, allocations: 9.094 kB / 0.9526 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.247e-05/0.6633, allocations: 179.9 kB / 0.9527 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.6633, allocations: 13.92 kB / 0.9527 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.6633, allocations: 5.562 kB / 0.9527 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.6635, allocations: 82.38 kB / 0.9528 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.6635, allocations: 3.984 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.6635, allocations: 8 kB / 0.9528 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.6635, allocations: 2.781 kB / 0.9528 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.6636, allocations: 48 kB / 0.9529 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.664, allocations: 344.7 kB / 0.9532 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.6643, allocations: 107 kB / 0.9533 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.371e-05/0.6644, allocations: 45.38 kB / 0.9534 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.6644, allocations: 1.438 kB / 0.9534 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.6646, allocations: 96.8 kB / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.6646, allocations: 0 / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0003162/0.665, allocations: 154.5 kB / 0.9536 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.665, allocations: 56.84 kB / 0.9537 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.961e-05/0.6651, allocations: 126.6 kB / 0.9538 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.6651, allocations: 27.08 kB / 0.9538 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.6651, allocations: 94.59 kB / 0.9539 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.6651, allocations: 32.44 kB / 0.9539 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.6652, allocations: 26.36 kB / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.6652, allocations: 323.9 kB / 0.9543 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.849e-05/0.6653, allocations: 26.62 kB / 0.9543 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.308e-05/0.6654, allocations: 35.52 kB / 0.9543 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.6655, allocations: 70.75 kB / 0.9544 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6655, allocations: 0 / 0.9544 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001668/0.6657, allocations: 110.6 kB / 0.9545 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.6657, allocations: 6.312 kB / 0.9545 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.6657, allocations: 0 / 0.9545 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.6657, allocations: 0 / 0.9545 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.6658, allocations: 18.42 kB / 0.9545 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.6658, allocations: 1.344 kB / 0.9545 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.6659, allocations: 24.98 kB / 0.9545 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.666, allocations: 2.219 kB / 0.9545 GB, free: 4.91 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/0.666, allocations: 115 kB / 0.9546 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.6661, allocations: 11.67 kB / 0.9547 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.6663, allocations: 150.3 kB / 0.9548 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.6663, allocations: 2.406 kB / 0.9548 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6663, allocations: 0 / 0.9548 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.6663, allocations: 3.938 kB / 0.9548 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.6665, allocations: 212.8 kB / 0.955 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6665, allocations: 1.125 kB / 0.955 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.901e-05/0.6666, allocations: 16.48 kB / 0.955 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.6666, allocations: 1.375 kB / 0.955 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.6666, allocations: 1.25 kB / 0.955 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.6666, allocations: 4 kB / 0.955 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6666, allocations: 5.188 kB / 0.955 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.6668, allocations: 161.7 kB / 0.9552 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.6669, allocations: 103 kB / 0.9553 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.6669, allocations: 2.281 kB / 0.9553 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.667, allocations: 7.328 kB / 0.9553 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.6671, allocations: 15.08 kB / 0.9553 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.6671, allocations: 6.625 kB / 0.9553 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.6671, allocations: 99.36 kB / 0.9554 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6671, allocations: 7.875 kB / 0.9554 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002086/0.6674, allocations: 26.59 kB / 0.9555 GB, free: 4.086 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.93e-05/0.6675, allocations: 107.2 kB / 0.9556 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001881/0.6676, allocations: 87.14 kB / 0.9556 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6677, allocations: 0 / 0.9556 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-05/0.6677, allocations: 49.39 kB / 0.9557 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.6679, allocations: 8.625 kB / 0.9557 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.6683, allocations: 258.8 kB / 0.9559 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.931e-05/0.6684, allocations: 0.6977 MB / 0.9566 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.6685, allocations: 18.72 kB / 0.9566 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.6685, allocations: 0 / 0.9566 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of Templates: time 0.002545/0.6711, allocations: 1.274 MB / 0.9579 GB, free: 2.324 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches