Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_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_latest_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.001935/0.001935, allocations: 100.1 kB / 15.88 MB, free: 12 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.00231/0.002311, allocations: 200 kB / 16.79 MB, free: 6.828 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.402/1.402, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.818/2.818, allocations: 461.9 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 72.52 kB / 0.8991 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3419, allocations: 157.4 MB / 1.053 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004131/0.346, allocations: 1.936 MB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002618/0.3487, allocations: 1.553 MB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.3489, allocations: 4 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.3492, allocations: 23.92 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.3496, allocations: 63.67 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.3501, allocations: 150.1 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.3504, allocations: 253.4 kB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3505, allocations: 37.36 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.3507, allocations: 95.69 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.3509, allocations: 95.7 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.857e-05/0.351, allocations: 12 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.3512, allocations: 75.95 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.3513, allocations: 79.8 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.3515, allocations: 115.2 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.3518, allocations: 227.6 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3518, allocations: 3.984 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3518, allocations: 4 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3518, allocations: 0 / 1.057 GB, free: 3.633 MB / 0.8106 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.0008884/0.3527, allocations: 0.5539 MB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3528, allocations: 11.97 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.353, allocations: 36.56 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.3533, allocations: 270.7 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.3534, allocations: 12.38 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.3534, allocations: 24.12 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.3538, allocations: 244.8 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3539, allocations: 0 / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.3539, allocations: 12 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.3539, allocations: 7.984 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008997/0.3548, allocations: 0.7451 MB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.356, allocations: 0.6331 MB / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.3565, allocations: 313.8 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.3567, allocations: 109.4 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.828e-05/0.3568, allocations: 24.25 kB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000351/0.3571, allocations: 183.4 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=35): time 2.013e-06/0.3571, allocations: 0 / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of matching and sorting (n=35): time 0.0007649/0.3579, allocations: 379.1 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.243e-05/0.358, allocations: 140.4 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.3583, allocations: 309 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.3584, allocations: 33.7 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.872e-05/0.3585, allocations: 132.7 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.3586, allocations: 118.3 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.3587, allocations: 69.55 kB / 1.062 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3589, allocations: 338.8 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.359, allocations: 79.95 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.3592, allocations: 123.5 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.3596, allocations: 216.6 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3596, allocations: 0 / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004874/0.3601, allocations: 289.5 kB / 1.063 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3601, allocations: 11.94 kB / 1.063 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3601, allocations: 3.938 kB / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3601, allocations: 0 / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.3604, allocations: 59.91 kB / 1.063 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/0.3604, allocations: 7.984 kB / 1.063 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.3606, allocations: 21.81 kB / 1.063 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.3607, allocations: 16.03 kB / 1.063 GB, free: 13.9 MB / 0.8262 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.0001731/0.3608, allocations: 169.7 kB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.3609, allocations: 27.72 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007163/0.3616, allocations: 388.4 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.3617, allocations: 4 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3617, allocations: 0 / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3617, allocations: 3.984 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.3621, allocations: 345.2 kB / 1.064 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3621, allocations: 3.984 kB / 1.064 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.3623, allocations: 59.92 kB / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3623, allocations: 0 / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.3623, allocations: 19.92 kB / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.3623, allocations: 7.984 kB / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3623, allocations: 0 / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.3628, allocations: 326.1 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.363, allocations: 152.6 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.3631, allocations: 7.938 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.3633, allocations: 27.91 kB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.3633, allocations: 23.97 kB / 1.064 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.3634, allocations: 15.98 kB / 1.064 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002287/0.3636, allocations: 232.5 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3636, allocations: 0 / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003297/0.3639, allocations: 71.98 kB / 1.064 GB, free: 11.95 MB / 0.8262 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.001052/0.365, allocations: 404.9 kB / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004246/0.3654, allocations: 231.7 kB / 1.065 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3655, allocations: 0 / 1.065 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.3657, allocations: 135.7 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.366, allocations: 37.17 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.367, allocations: 0.6523 MB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.3674, allocations: 0.7614 MB / 1.067 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.3676, allocations: 55.41 kB / 1.067 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3676, allocations: 3.938 kB / 1.067 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of Templates: time 0.008279/0.3759, allocations: 4.462 MB / 1.071 GB, free: 5.332 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches