Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 110.6 kB / 15.99 MB, free: 6.348 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.001582/0.001582, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.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.602/2.602, allocations: 437 MB / 0.7107 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 64.94 kB / 0.8694 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3409, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003637/0.3446, allocations: 1.937 MB / 1.019 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00241/0.3471, allocations: 1.549 MB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.3472, allocations: 7.938 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.3474, allocations: 27.91 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.3478, allocations: 59.69 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.3482, allocations: 151 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.3486, allocations: 281.4 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.3488, allocations: 33.38 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.3489, allocations: 107.7 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.3491, allocations: 99.7 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/0.3492, allocations: 20 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.3494, allocations: 83.97 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.3495, allocations: 83.8 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.3496, allocations: 127.2 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.35, allocations: 239.6 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.35, allocations: 0 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.044e-06/0.35, allocations: 4 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.35, allocations: 0 / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000849/0.3509, allocations: 0.5539 MB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.6e-05/0.3509, allocations: 8.922 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.3511, allocations: 44.48 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.3514, allocations: 270.7 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.3515, allocations: 12.38 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.3515, allocations: 24.12 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.3519, allocations: 244.8 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3519, allocations: 0 / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.352, allocations: 12 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.352, allocations: 4 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.353, allocations: 0.7451 MB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.3542, allocations: 0.6448 MB / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.3547, allocations: 306.5 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.3549, allocations: 109.3 kB / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.104e-05/0.355, allocations: 28.23 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003592/0.3553, allocations: 172.8 kB / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.3553, allocations: 0 / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of matching and sorting (n=35): time 0.00071/0.356, allocations: 389.3 kB / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.3562, allocations: 136.5 kB / 1.026 GB, free: 2.312 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.3565, allocations: 309 kB / 1.026 GB, free: 2.004 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.3565, allocations: 33.7 kB / 1.026 GB, free: 1.965 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.3567, allocations: 132.7 kB / 1.026 GB, free: 1.832 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.3568, allocations: 118.3 kB / 1.026 GB, free: 1.715 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3569, allocations: 65.69 kB / 1.026 GB, free: 1.645 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3571, allocations: 338.8 kB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3573, allocations: 79.95 kB / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.3575, allocations: 127.2 kB / 1.027 GB, free: 1.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.3578, allocations: 218.3 kB / 1.027 GB, free: 0.875 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3578, allocations: 3.938 kB / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004746/0.3583, allocations: 285 kB / 1.027 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3584, allocations: 11.98 kB / 1.027 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3584, allocations: 3.938 kB / 1.027 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.3584, allocations: 0 / 1.027 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.3586, allocations: 59.91 kB / 1.027 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3586, allocations: 4 kB / 1.027 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.3588, allocations: 23.83 kB / 1.027 GB, free: 496 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.3588, allocations: 12 kB / 1.027 GB, free: 484 kB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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 0.0001797/0.359, allocations: 166.8 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.3591, allocations: 23.72 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007342/0.3598, allocations: 392.7 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3599, allocations: 7.984 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3599, allocations: 0 / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3599, allocations: 0 / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003835/0.3603, allocations: 353.2 kB / 1.028 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3603, allocations: 0 / 1.028 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.3605, allocations: 67.91 kB / 1.028 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3605, allocations: 0 / 1.028 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.3605, allocations: 11.94 kB / 1.028 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.3605, allocations: 0 / 1.028 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3605, allocations: 4 kB / 1.028 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.3611, allocations: 325.5 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.3612, allocations: 148.6 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.3613, allocations: 11.94 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.3615, allocations: 23.97 kB / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.3615, allocations: 23.97 kB / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.3616, allocations: 15.98 kB / 1.029 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002489/0.3618, allocations: 236.4 kB / 1.029 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3618, allocations: 0 / 1.029 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003139/0.3622, allocations: 64 kB / 1.029 GB, free: 14.54 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 0.001466/0.3636, allocations: 408 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006029/0.3642, allocations: 308.2 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3643, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.3645, allocations: 136.3 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.3648, allocations: 47.97 kB / 1.03 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.3659, allocations: 0.6564 MB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.3663, allocations: 0.7619 MB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.3665, allocations: 55.41 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.3665, allocations: 0 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of Templates: time 0.008067/0.3746, allocations: 4.477 MB / 1.036 GB, free: 7.809 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches