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.001033/0.001033, allocations: 97.78 kB / 16.02 MB, free: 76 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.001404/0.001404, allocations: 182 kB / 16.92 MB, free: 6.918 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.869/2.869, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 9.438 kB / 0.9034 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3258, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002505/0.3283, allocations: 1.585 MB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002383/0.3307, allocations: 1.534 MB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.3309, allocations: 4 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.3312, allocations: 27.84 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.3315, allocations: 55.75 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.3321, allocations: 161.5 kB / 1.063 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.3325, allocations: 261.4 kB / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3326, allocations: 21.39 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.3328, allocations: 83.81 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.3331, allocations: 99.58 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.3331, allocations: 16 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.3334, allocations: 75.97 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.3335, allocations: 71.8 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.3336, allocations: 133 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.334, allocations: 227.5 kB / 1.064 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.334, allocations: 0 / 1.064 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.234e-06/0.334, allocations: 0 / 1.064 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.334, allocations: 0 / 1.064 GB, free: 0.6016 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.0008528/0.3349, allocations: 0.5072 MB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3349, allocations: 15.97 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.3352, allocations: 36.67 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.3355, allocations: 274.7 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.3355, allocations: 12.38 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.3356, allocations: 20.12 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.336, allocations: 240.9 kB / 1.065 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.336, allocations: 4 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.3361, allocations: 12 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3361, allocations: 4 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008568/0.3369, allocations: 0.7528 MB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.3381, allocations: 0.6497 MB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.3386, allocations: 309.9 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.3387, allocations: 109.4 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.191e-05/0.3388, allocations: 24.25 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003724/0.3392, allocations: 175.3 kB / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 1.803e-06/0.3392, allocations: 0 / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0006793/0.3399, allocations: 383.1 kB / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.3399, allocations: 132.5 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.3403, allocations: 309 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.3403, allocations: 37.7 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.509e-05/0.3404, allocations: 128.7 kB / 1.068 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.808e-05/0.3405, allocations: 118.3 kB / 1.068 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.3405, allocations: 33.7 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3407, allocations: 338.8 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.3408, allocations: 83.81 kB / 1.068 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.341, allocations: 135.5 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.3413, allocations: 216.6 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3413, allocations: 0 / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004299/0.3418, allocations: 285.5 kB / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3418, allocations: 4 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3418, allocations: 7.875 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3418, allocations: 4 kB / 1.069 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.3421, allocations: 63.91 kB / 1.069 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3421, allocations: 3.984 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.3423, allocations: 29.66 kB / 1.069 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.3423, allocations: 12 kB / 1.069 GB, free: 10.93 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.0001804/0.3425, allocations: 161.8 kB / 1.069 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.3425, allocations: 31.7 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006765/0.3432, allocations: 396.4 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3432, allocations: 4 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3432, allocations: 0 / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3432, allocations: 4 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.3436, allocations: 349.2 kB / 1.07 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3436, allocations: 0 / 1.07 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.3438, allocations: 59.91 kB / 1.07 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3438, allocations: 0 / 1.07 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.3438, allocations: 11.94 kB / 1.07 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.3438, allocations: 0 / 1.07 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3438, allocations: 4 kB / 1.07 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.3443, allocations: 322.2 kB / 1.07 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.3444, allocations: 160.5 kB / 1.07 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.3445, allocations: 11.94 kB / 1.07 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.3447, allocations: 27.98 kB / 1.07 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.3448, allocations: 23.95 kB / 1.07 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.3448, allocations: 12.05 kB / 1.07 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002213/0.345, allocations: 240.4 kB / 1.071 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.345, allocations: 4 kB / 1.071 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003173/0.3454, allocations: 64 kB / 1.071 GB, free: 8.973 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.0009789/0.3464, allocations: 404 kB / 1.071 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.3468, allocations: 223.7 kB / 1.071 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3468, allocations: 4 kB / 1.071 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.347, allocations: 135.7 kB / 1.071 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.3473, allocations: 40.36 kB / 1.071 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009776/0.3483, allocations: 0.6624 MB / 1.072 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.3487, allocations: 0.7613 MB / 1.073 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.3488, allocations: 55.41 kB / 1.073 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.3488, allocations: 0 / 1.073 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of Templates: time 0.007938/0.3567, allocations: 4.441 MB / 1.077 GB, free: 2.375 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