Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_9_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_9_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.001276/0.001276, allocations: 107.5 kB / 16.27 MB, free: 5.941 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.001269/0.001269, allocations: 189.2 kB / 17.19 MB, free: 5.582 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.149/2.149, allocations: 390.2 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.14 kB / 0.8132 GB, free: 32.95 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2611, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003105/0.2643, allocations: 1.873 MB / 0.9521 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.2664, allocations: 1.581 MB / 0.9536 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.045e-05/0.2664, allocations: 4 kB / 0.9536 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.2667, allocations: 23.78 kB / 0.9537 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.2669, allocations: 75.55 kB / 0.9537 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.2674, allocations: 167 kB / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.2677, allocations: 285.3 kB / 0.9542 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.2678, allocations: 33.38 kB / 0.9542 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.2679, allocations: 91.81 kB / 0.9543 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.2681, allocations: 115.6 kB / 0.9544 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.2682, allocations: 27.92 kB / 0.9544 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.2683, allocations: 75.98 kB / 0.9545 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2685, allocations: 91.8 kB / 0.9546 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.2686, allocations: 123.3 kB / 0.9547 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.2689, allocations: 315 kB / 0.955 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2689, allocations: 0 / 0.955 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2689, allocations: 0 / 0.955 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.2689, allocations: 0 / 0.955 GB, free: 3.977 MB / 0.7325 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.000759/0.2697, allocations: 0.5578 MB / 0.9556 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2697, allocations: 8.031 kB / 0.9556 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.2699, allocations: 36.55 kB / 0.9556 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.2702, allocations: 278.7 kB / 0.9559 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.2702, allocations: 16.38 kB / 0.9559 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.2703, allocations: 20.12 kB / 0.9559 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.2706, allocations: 240.9 kB / 0.9561 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2706, allocations: 0 / 0.9561 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.2707, allocations: 12 kB / 0.9561 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2707, allocations: 4 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008255/0.2715, allocations: 0.7529 MB / 0.9569 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009634/0.2725, allocations: 0.6369 MB / 0.9575 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.273, allocations: 306.5 kB / 0.9578 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.2732, allocations: 113.4 kB / 0.9579 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.2732, allocations: 20.23 kB / 0.9579 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003393/0.2735, allocations: 183.4 kB / 0.9581 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=35): time 1.993e-06/0.2736, allocations: 0 / 0.9581 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35): time 0.0006398/0.2742, allocations: 378.2 kB / 0.9585 GB, free: 256 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.2743, allocations: 140.4 kB / 0.9586 GB, free: 84 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.2746, allocations: 309 kB / 0.9589 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.2746, allocations: 29.7 kB / 0.9589 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.2747, allocations: 136.7 kB / 0.959 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.472e-05/0.2748, allocations: 114.3 kB / 0.9592 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.675e-05/0.2749, allocations: 65.69 kB / 0.9592 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.275, allocations: 338.8 kB / 0.9595 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.2751, allocations: 83.89 kB / 0.9596 GB, free: 15 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.2753, allocations: 136.4 kB / 0.9597 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.2756, allocations: 208.7 kB / 0.9599 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2756, allocations: 0 / 0.9599 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000407/0.2761, allocations: 277.6 kB / 0.9602 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2761, allocations: 7.984 kB / 0.9602 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2761, allocations: 7.938 kB / 0.9602 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2761, allocations: 0 / 0.9602 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.2763, allocations: 59.91 kB / 0.9603 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2763, allocations: 8 kB / 0.9603 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.2765, allocations: 31.73 kB / 0.9603 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.2765, allocations: 8 kB / 0.9603 GB, free: 14.25 MB / 0.7481 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.0001492/0.2767, allocations: 163.7 kB / 0.9605 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.2767, allocations: 23.72 kB / 0.9605 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006399/0.2774, allocations: 400.5 kB / 0.9609 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.2774, allocations: 7.984 kB / 0.9609 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2774, allocations: 0 / 0.9609 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2774, allocations: 0 / 0.9609 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.2777, allocations: 353.1 kB / 0.9612 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2777, allocations: 0 / 0.9612 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.2779, allocations: 59.91 kB / 0.9613 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2779, allocations: 4 kB / 0.9613 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.2779, allocations: 15.88 kB / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2779, allocations: 0 / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2779, allocations: 0 / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/0.2784, allocations: 330.2 kB / 0.9616 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.2785, allocations: 144.6 kB / 0.9618 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.2786, allocations: 11.94 kB / 0.9618 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.2788, allocations: 23.97 kB / 0.9618 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.2788, allocations: 23.97 kB / 0.9618 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.2789, allocations: 15.92 kB / 0.9618 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001894/0.279, allocations: 244.4 kB / 0.9621 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2791, allocations: 0 / 0.9621 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002801/0.2793, allocations: 63.91 kB / 0.9621 GB, free: 12.3 MB / 0.7481 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.0008444/0.2802, allocations: 401.1 kB / 0.9625 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004742/0.2807, allocations: 299.6 kB / 0.9628 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2807, allocations: 0 / 0.9628 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.2809, allocations: 135.7 kB / 0.9629 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.2812, allocations: 54.58 kB / 0.963 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008149/0.282, allocations: 0.5737 MB / 0.9635 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.2823, allocations: 0.7614 MB / 0.9643 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.937e-05/0.2824, allocations: 51.41 kB / 0.9643 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.2824, allocations: 0 / 0.9643 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of Templates: time 0.00607/0.2885, allocations: 4.47 MB / 0.9687 GB, free: 5.676 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches