Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.002268/0.002268, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.896/2.896, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004124/0.0004126, allocations: 15.94 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9183/0.9187, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002872/0.9217, allocations: 1.328 MB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.9237, allocations: 1.089 MB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.197e-05/0.9238, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.9242, allocations: 23.86 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.9245, allocations: 55.81 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.9249, allocations: 115.3 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.9253, allocations: 197.6 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.9255, allocations: 20.2 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.9256, allocations: 67.83 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.9259, allocations: 79.78 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.9259, allocations: 8 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.9261, allocations: 67.89 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.9262, allocations: 67.81 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.835e-05/0.9263, allocations: 61.52 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.9265, allocations: 193.6 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.9266, allocations: 4 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.745e-06/0.9266, allocations: 0 / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.9266, allocations: 0 / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008372/0.9274, allocations: 495.3 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.9275, allocations: 12.56 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.669e-05/0.9276, allocations: 27.62 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.9279, allocations: 258.6 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.9279, allocations: 12 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.928, allocations: 16 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.9283, allocations: 216.6 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.9284, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.9284, allocations: 4 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.9284, allocations: 4 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009135/0.9293, allocations: 0.7451 MB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008979/0.9302, allocations: 0.5666 MB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.9307, allocations: 291.6 kB / 1.028 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.9309, allocations: 101.4 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.477e-05/0.931, allocations: 32.23 kB / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003856/0.9314, allocations: 172.8 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 2.084e-06/0.9314, allocations: 0 / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0006821/0.9321, allocations: 365.1 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.9322, allocations: 136.5 kB / 1.029 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.9325, allocations: 296.1 kB / 1.029 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.9326, allocations: 29.7 kB / 1.029 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.526e-05/0.9327, allocations: 128.8 kB / 1.029 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.9328, allocations: 114.3 kB / 1.03 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.9328, allocations: 7.938 kB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.933, allocations: 342.8 kB / 1.03 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.9331, allocations: 79.95 kB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.9333, allocations: 124.8 kB / 1.03 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.9335, allocations: 112.3 kB / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9335, allocations: 0 / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004098/0.9339, allocations: 269.2 kB / 1.03 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.934, allocations: 9.875 kB / 1.03 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.934, allocations: 0 / 1.03 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.934, allocations: 0 / 1.03 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.9342, allocations: 63.91 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.9342, allocations: 4 kB / 1.031 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.9344, allocations: 25.45 kB / 1.031 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.9344, allocations: 19.97 kB / 1.031 GB, free: 7.414 MB / 0.7794 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.9346, allocations: 169.7 kB / 1.031 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.9347, allocations: 27.62 kB / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000715/0.9354, allocations: 389.4 kB / 1.031 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.9354, allocations: 4 kB / 1.031 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.9354, allocations: 4 kB / 1.031 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.9354, allocations: 7.984 kB / 1.031 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.9358, allocations: 325.3 kB / 1.031 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.9358, allocations: 4 kB / 1.031 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.936, allocations: 55.91 kB / 1.032 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.936, allocations: 0 / 1.032 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.936, allocations: 11.98 kB / 1.032 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.936, allocations: 4 kB / 1.032 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.936, allocations: 0 / 1.032 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.9365, allocations: 322 kB / 1.032 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.9366, allocations: 152.5 kB / 1.032 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.9367, allocations: 8 kB / 1.032 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.9368, allocations: 15.98 kB / 1.032 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.02e-05/0.9369, allocations: 23.97 kB / 1.032 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.9369, allocations: 15.98 kB / 1.032 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002111/0.9371, allocations: 229.6 kB / 1.032 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9371, allocations: 0 / 1.032 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002927/0.9374, allocations: 67.94 kB / 1.032 GB, free: 5.516 MB / 0.7794 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001012/0.9385, allocations: 401.1 kB / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.9388, allocations: 223.8 kB / 1.033 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9389, allocations: 0 / 1.033 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.9391, allocations: 127.8 kB / 1.033 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.9393, allocations: 32.66 kB / 1.033 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008983/0.9402, allocations: 0.5606 MB / 1.034 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.9407, allocations: 0.7652 MB / 1.034 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003362/0.941, allocations: 142.8 kB / 1.035 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.739e-05/0.9411, allocations: 43.36 kB / 1.035 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.9411, allocations: 0 / 1.035 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of Templates: time 0.006992/0.9481, allocations: 2.764 MB / 1.037 GB, free: 0.5859 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches