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.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.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.001156/0.001157, allocations: 112.6 kB / 16.37 MB, free: 6 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.001214/0.001214, allocations: 196 kB / 17.31 MB, free: 5.613 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.324/1.324, 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 9.1.2-maint.9.1.x/package.mo): time 2.214/2.214, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.78 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2586, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003099/0.2617, allocations: 1.88 MB / 0.953 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.2638, allocations: 1.573 MB / 0.9545 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.2639, allocations: 4 kB / 0.9545 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.2641, allocations: 31.78 kB / 0.9545 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.2643, allocations: 79.3 kB / 0.9546 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.2648, allocations: 175.3 kB / 0.9548 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.2651, allocations: 281.3 kB / 0.955 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.764e-05/0.2652, allocations: 37.08 kB / 0.9551 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.7e-05/0.2653, allocations: 103.7 kB / 0.9552 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.2655, allocations: 107.7 kB / 0.9553 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.2655, allocations: 20 kB / 0.9553 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.2657, allocations: 79.98 kB / 0.9554 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.381e-05/0.2658, allocations: 91.72 kB / 0.9555 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.2659, allocations: 131.2 kB / 0.9556 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.2662, allocations: 318.9 kB / 0.9559 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2662, allocations: 0 / 0.9559 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2662, allocations: 0 / 0.9559 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2662, allocations: 0 / 0.9559 GB, free: 3.203 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.0006855/0.2669, allocations: 0.5714 MB / 0.9565 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.267, allocations: 12.02 kB / 0.9565 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.2671, allocations: 32.56 kB / 0.9565 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.2674, allocations: 274.7 kB / 0.9568 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.2674, allocations: 12.38 kB / 0.9568 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.2675, allocations: 20.12 kB / 0.9568 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.2678, allocations: 244.9 kB / 0.957 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.2678, allocations: 0 / 0.957 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.2679, allocations: 4 kB / 0.957 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2679, allocations: 4 kB / 0.957 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008201/0.2687, allocations: 0.749 MB / 0.9578 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009482/0.2697, allocations: 0.6253 MB / 0.9584 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.2701, allocations: 310.5 kB / 0.9587 GB, free: 196 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.2703, allocations: 113.3 kB / 0.9588 GB, free: 80 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.292e-05/0.2703, allocations: 20.25 kB / 0.9588 GB, free: 60 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003233/0.2707, allocations: 175.5 kB / 0.959 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=35): time 1.804e-06/0.2707, allocations: 0 / 0.959 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35): time 0.000627/0.2713, allocations: 378.2 kB / 0.9593 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.2715, allocations: 144.4 kB / 0.9595 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.2717, allocations: 308.9 kB / 0.9598 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.2718, allocations: 33.7 kB / 0.9598 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.2719, allocations: 136.6 kB / 0.9599 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.284e-05/0.272, allocations: 114.3 kB / 0.96 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/0.272, allocations: 65.69 kB / 0.9601 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2722, allocations: 334.8 kB / 0.9604 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.2723, allocations: 83.95 kB / 0.9605 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.2725, allocations: 136.4 kB / 0.9606 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.2728, allocations: 204.7 kB / 0.9608 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.2728, allocations: 0 / 0.9608 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004224/0.2733, allocations: 289.6 kB / 0.9611 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2733, allocations: 4 kB / 0.9611 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2733, allocations: 3.938 kB / 0.9611 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2733, allocations: 0 / 0.9611 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.2735, allocations: 71.91 kB / 0.9612 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2736, allocations: 7.875 kB / 0.9612 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.2737, allocations: 27.73 kB / 0.9612 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.2737, allocations: 12 kB / 0.9612 GB, free: 13.48 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.0001532/0.2739, allocations: 157.8 kB / 0.9614 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.274, allocations: 35.66 kB / 0.9614 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006507/0.2746, allocations: 384.5 kB / 0.9618 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2746, allocations: 4.047 kB / 0.9618 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2746, allocations: 3.984 kB / 0.9618 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2746, allocations: 0 / 0.9618 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.275, allocations: 353.1 kB / 0.9621 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.275, allocations: 4 kB / 0.9621 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.2752, allocations: 59.91 kB / 0.9622 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.2752, allocations: 0 / 0.9622 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.2752, allocations: 11.94 kB / 0.9622 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2752, allocations: 4 kB / 0.9622 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.2752, allocations: 3.984 kB / 0.9622 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.2757, allocations: 322.1 kB / 0.9625 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.2758, allocations: 144.7 kB / 0.9626 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.2759, allocations: 15.92 kB / 0.9626 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.2761, allocations: 23.98 kB / 0.9627 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.2761, allocations: 19.97 kB / 0.9627 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.2762, allocations: 19.98 kB / 0.9627 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001931/0.2764, allocations: 236.4 kB / 0.9629 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2764, allocations: 0 / 0.9629 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000291/0.2767, allocations: 67.91 kB / 0.963 GB, free: 11.55 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.000927/0.2776, allocations: 418.4 kB / 0.9634 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003789/0.278, allocations: 231.7 kB / 0.9636 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.278, allocations: 0 / 0.9636 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.2782, allocations: 135.7 kB / 0.9637 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.2785, allocations: 44.41 kB / 0.9638 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007521/0.2792, allocations: 0.5191 MB / 0.9643 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.2795, allocations: 0.7614 MB / 0.965 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003142/0.2799, allocations: 146.9 kB / 0.9652 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.214e-05/0.28, allocations: 39.42 kB / 0.9652 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of SimCode: time 6.61e-07/0.28, allocations: 0 / 0.9652 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of Templates: time 0.00689/0.2869, allocations: 3.388 MB / 0.9685 GB, free: 6.004 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 -s gbode -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