Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008379/0.008379, allocations: 98.7 kB / 15.73 MB, free: 6.055 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.00155/0.00155, allocations: 196 kB / 16.68 MB, free: 5.969 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 64.27 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9082/0.9096, allocations: 151.6 MB / 1.167 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003805/0.9135, allocations: 1.873 MB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002747/0.9162, allocations: 1.573 MB / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.9164, allocations: 4 kB / 1.17 GB, free: 292 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.9168, allocations: 31.78 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004869/0.9173, allocations: 75.55 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006752/0.918, allocations: 175.6 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005423/0.9186, allocations: 273.4 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.9188, allocations: 45.06 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.919, allocations: 91.81 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.9194, allocations: 119.6 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.9195, allocations: 20 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.9198, allocations: 79.98 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.92, allocations: 87.8 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.9202, allocations: 127.2 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007668/0.921, allocations: 323.2 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.921, allocations: 4 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.984e-06/0.921, allocations: 4 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.921, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 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.001129/0.9222, allocations: 0.569 MB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.9222, allocations: 8.922 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.9225, allocations: 36.73 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.9229, allocations: 278.8 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.9229, allocations: 20.31 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.9229, allocations: 24.12 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.9234, allocations: 244.9 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.9234, allocations: 0 / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.9235, allocations: 4 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.9235, allocations: 7.938 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008965/0.9244, allocations: 0.7528 MB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.9255, allocations: 0.6293 MB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/0.9261, allocations: 302 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.9263, allocations: 113.4 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.614e-05/0.9263, allocations: 20.25 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004249/0.9268, allocations: 188.6 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=35): time 2.315e-06/0.9268, allocations: 0 / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.0007896/0.9276, allocations: 377.5 kB / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.9277, allocations: 132.5 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.928, allocations: 312.9 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.9281, allocations: 33.7 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.9282, allocations: 140.7 kB / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.9283, allocations: 111 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.9284, allocations: 65.69 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.9286, allocations: 346.8 kB / 1.176 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.9287, allocations: 79.95 kB / 1.176 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.9289, allocations: 135.3 kB / 1.176 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.9293, allocations: 210.3 kB / 1.176 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.9293, allocations: 4 kB / 1.176 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004331/0.9297, allocations: 285.1 kB / 1.177 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.9297, allocations: 4 kB / 1.177 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.9298, allocations: 7.938 kB / 1.177 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.9298, allocations: 4 kB / 1.177 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.93, allocations: 59.91 kB / 1.177 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.93, allocations: 0 / 1.177 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.9302, allocations: 31.81 kB / 1.177 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.9302, allocations: 8 kB / 1.177 GB, free: 9.137 MB / 0.9044 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.0001674/0.9304, allocations: 161.8 kB / 1.177 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.9304, allocations: 35.8 kB / 1.177 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00067/0.9311, allocations: 388.8 kB / 1.177 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.9311, allocations: 7.938 kB / 1.177 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.9311, allocations: 8 kB / 1.177 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.9312, allocations: 0 / 1.177 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.9315, allocations: 345.3 kB / 1.178 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.9315, allocations: 0 / 1.178 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.9317, allocations: 63.91 kB / 1.178 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.9317, allocations: 0 / 1.178 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.9318, allocations: 11.94 kB / 1.178 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.9318, allocations: 4 kB / 1.178 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9318, allocations: 0 / 1.178 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.9322, allocations: 333.8 kB / 1.178 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.9324, allocations: 144.8 kB / 1.178 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.9325, allocations: 7.938 kB / 1.178 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.9326, allocations: 23.97 kB / 1.178 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.9327, allocations: 31.83 kB / 1.178 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.9327, allocations: 11.98 kB / 1.178 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002078/0.9329, allocations: 236.4 kB / 1.178 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.7e-07/0.933, allocations: 0 / 1.178 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003097/0.9333, allocations: 75.89 kB / 1.179 GB, free: 7.172 MB / 0.9044 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.001007/0.9343, allocations: 412.3 kB / 1.179 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004058/0.9347, allocations: 228.3 kB / 1.179 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9347, allocations: 0 / 1.179 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.9349, allocations: 136.3 kB / 1.179 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.9352, allocations: 48.84 kB / 1.179 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008769/0.9361, allocations: 0.5332 MB / 1.18 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.9365, allocations: 0.7614 MB / 1.181 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003165/0.9368, allocations: 146.8 kB / 1.181 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.9369, allocations: 51.42 kB / 1.181 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.9369, allocations: 0 / 1.181 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of Templates: time 0.007331/0.9442, allocations: 3.435 MB / 1.184 GB, free: 1.57 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches