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.001576/0.001576, allocations: 104.2 kB / 16.35 MB, free: 6.289 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.001781/0.001781, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.43/2.43, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 65.3 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3056, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003313/0.3089, allocations: 1.886 MB / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002293/0.3112, allocations: 1.584 MB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.3114, allocations: 4 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.3116, allocations: 27.78 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.312, allocations: 75.55 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004926/0.3125, allocations: 172.2 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003519/0.3129, allocations: 285.4 kB / 1.031 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.313, allocations: 33.11 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3131, allocations: 95.7 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.3134, allocations: 111.7 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.3134, allocations: 20 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.3136, allocations: 83.95 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.3137, allocations: 87.75 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.3139, allocations: 123.3 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.3143, allocations: 330.8 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3143, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3143, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.3143, allocations: 4 kB / 1.031 GB, free: 13.16 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.0008107/0.3151, allocations: 0.5578 MB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3152, allocations: 8.031 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.3154, allocations: 32.56 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.3157, allocations: 274.7 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3157, allocations: 16.38 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.3158, allocations: 24.12 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.3162, allocations: 236.9 kB / 1.033 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3162, allocations: 0 / 1.033 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.3162, allocations: 8 kB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3163, allocations: 4 kB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008747/0.3171, allocations: 0.7451 MB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.3182, allocations: 0.637 MB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.3187, allocations: 315.2 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.3189, allocations: 105.4 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.373e-05/0.3189, allocations: 28.25 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003924/0.3193, allocations: 179.9 kB / 1.035 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=35): time 1.834e-06/0.3194, allocations: 4 kB / 1.035 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of matching and sorting (n=35): time 0.0006794/0.32, allocations: 379 kB / 1.035 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.3201, allocations: 132.5 kB / 1.035 GB, free: 9.297 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.3204, allocations: 309 kB / 1.035 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.3204, allocations: 33.7 kB / 1.035 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/0.3205, allocations: 132.7 kB / 1.036 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.016e-05/0.3206, allocations: 118.3 kB / 1.036 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/0.3207, allocations: 73.61 kB / 1.036 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3209, allocations: 338.8 kB / 1.036 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.321, allocations: 87.81 kB / 1.036 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.3212, allocations: 123.4 kB / 1.036 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.3215, allocations: 213.4 kB / 1.036 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3216, allocations: 4 kB / 1.036 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004455/0.322, allocations: 285 kB / 1.037 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.322, allocations: 4 kB / 1.037 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.322, allocations: 3.938 kB / 1.037 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.3221, allocations: 0 / 1.037 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.3223, allocations: 67.95 kB / 1.037 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3223, allocations: 0 / 1.037 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.3225, allocations: 27.81 kB / 1.037 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.3225, allocations: 15.98 kB / 1.037 GB, free: 7.441 MB / 0.8106 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.0001458/0.3227, allocations: 165.8 kB / 1.037 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.3227, allocations: 27.72 kB / 1.037 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006865/0.3234, allocations: 388.5 kB / 1.037 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3234, allocations: 4 kB / 1.037 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3235, allocations: 0 / 1.037 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3235, allocations: 0 / 1.037 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.3238, allocations: 349.1 kB / 1.038 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3238, allocations: 0 / 1.038 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.324, allocations: 59.91 kB / 1.038 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.324, allocations: 0 / 1.038 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.324, allocations: 19.92 kB / 1.038 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.324, allocations: 7.984 kB / 1.038 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.324, allocations: 4 kB / 1.038 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.3245, allocations: 322.2 kB / 1.038 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.3247, allocations: 148.6 kB / 1.038 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.3247, allocations: 11.94 kB / 1.038 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.3249, allocations: 27.86 kB / 1.038 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.325, allocations: 23.95 kB / 1.038 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.325, allocations: 20 kB / 1.038 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002/0.3252, allocations: 236.4 kB / 1.039 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.3252, allocations: 0 / 1.039 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00031/0.3255, allocations: 68 kB / 1.039 GB, free: 5.496 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.0009099/0.3265, allocations: 394.9 kB / 1.039 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004228/0.3269, allocations: 231.7 kB / 1.039 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3269, allocations: 4 kB / 1.039 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.3271, allocations: 128.7 kB / 1.039 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.3274, allocations: 52.25 kB / 1.039 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008606/0.3283, allocations: 0.5274 MB / 1.04 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3286, allocations: 0.7619 MB / 1.041 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000347/0.329, allocations: 150.9 kB / 1.041 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.999e-05/0.3291, allocations: 39.42 kB / 1.041 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.3291, allocations: 0 / 1.041 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of Templates: time 0.007514/0.3366, allocations: 3.398 MB / 1.044 GB, free: 15.96 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 -s gbode -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