Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.008325/0.008325, allocations: 97.97 kB / 15.88 MB, free: 6.316 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.001873/0.001873, allocations: 194.8 kB / 16.79 MB, free: 6.242 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.444/1.444, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.459/2.459, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.89 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6504/0.6518, allocations: 140.4 MB / 0.9496 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.0028/0.6547, allocations: 1.701 MB / 0.9512 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.6562, allocations: 1.133 MB / 0.9523 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.6563, allocations: 1.312 kB / 0.9523 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.6565, allocations: 26.22 kB / 0.9524 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.6567, allocations: 60.23 kB / 0.9524 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.6571, allocations: 120.4 kB / 0.9525 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.6573, allocations: 214.1 kB / 0.9528 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.6574, allocations: 17.28 kB / 0.9528 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.6575, allocations: 75.95 kB / 0.9528 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.6577, allocations: 84.14 kB / 0.9529 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.6578, allocations: 9.469 kB / 0.9529 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.6579, allocations: 65.81 kB / 0.953 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.364e-05/0.658, allocations: 77.39 kB / 0.9531 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.6581, allocations: 100 kB / 0.9532 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.6584, allocations: 194.1 kB / 0.9533 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.6584, allocations: 0 / 0.9533 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6584, allocations: 0 / 0.9533 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.6584, allocations: 1.469 kB / 0.9533 GB, free: 6.602 MB / 0.7169 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.0007082/0.6591, allocations: 0.5342 MB / 0.9539 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.6591, allocations: 10.12 kB / 0.9539 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.559e-05/0.6592, allocations: 24.56 kB / 0.9539 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.6595, allocations: 265 kB / 0.9542 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.6595, allocations: 10.94 kB / 0.9542 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.6595, allocations: 14.38 kB / 0.9542 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.6598, allocations: 228.7 kB / 0.9544 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.6599, allocations: 0 / 0.9544 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.6599, allocations: 7.031 kB / 0.9544 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.6599, allocations: 6.641 kB / 0.9544 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007929/0.6607, allocations: 0.735 MB / 0.9551 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007026/0.6614, allocations: 0.5661 MB / 0.9557 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.6619, allocations: 303 kB / 0.956 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.6621, allocations: 106.3 kB / 0.9561 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.635e-05/0.6621, allocations: 17.81 kB / 0.9561 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/0.6624, allocations: 171.5 kB / 0.9563 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.6625, allocations: 0 / 0.9563 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0006333/0.6631, allocations: 375.9 kB / 0.9566 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.6632, allocations: 132.3 kB / 0.9567 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.6634, allocations: 304.3 kB / 0.957 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.6634, allocations: 32.45 kB / 0.9571 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.6635, allocations: 120.9 kB / 0.9572 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.6636, allocations: 117.5 kB / 0.9573 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.424e-05/0.6637, allocations: 65.19 kB / 0.9573 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.209e-05/0.6637, allocations: 337.6 kB / 0.9577 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.6639, allocations: 85.02 kB / 0.9577 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.6641, allocations: 131 kB / 0.9579 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.6644, allocations: 213.2 kB / 0.9581 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6644, allocations: 0 / 0.9581 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004429/0.6648, allocations: 274.6 kB / 0.9583 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.6649, allocations: 5.938 kB / 0.9583 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6649, allocations: 3.938 kB / 0.9583 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6649, allocations: 1.094 kB / 0.9584 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.6651, allocations: 67.5 kB / 0.9584 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.6652, allocations: 2.156 kB / 0.9584 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.6653, allocations: 31.52 kB / 0.9584 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.6653, allocations: 17.05 kB / 0.9585 GB, free: 2.887 MB / 0.7169 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 (35): * Single equations (assignments): 35 * 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.000131/0.6655, allocations: 157.4 kB / 0.9586 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.6655, allocations: 23.38 kB / 0.9586 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006497/0.6662, allocations: 384.3 kB / 0.959 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.6662, allocations: 4.188 kB / 0.959 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6662, allocations: 0 / 0.959 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.6662, allocations: 8.984 kB / 0.959 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.6665, allocations: 322.9 kB / 0.9593 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6665, allocations: 4.844 kB / 0.9593 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.6667, allocations: 52.38 kB / 0.9594 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.6667, allocations: 2.25 kB / 0.9594 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.6667, allocations: 12.52 kB / 0.9594 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.6667, allocations: 5.125 kB / 0.9594 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6667, allocations: 0 / 0.9594 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.6672, allocations: 329.5 kB / 0.9597 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.6673, allocations: 146 kB / 0.9598 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.6673, allocations: 6.75 kB / 0.9599 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.6675, allocations: 13.89 kB / 0.9599 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.6676, allocations: 28.67 kB / 0.9599 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.6676, allocations: 16.91 kB / 0.9599 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001714/0.6678, allocations: 236.2 kB / 0.9601 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6678, allocations: 0 / 0.9601 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003088/0.6681, allocations: 59.91 kB / 0.9602 GB, free: 1.656 MB / 0.7169 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 (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.0009285/0.669, allocations: 410.1 kB / 0.9606 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003938/0.6694, allocations: 228.5 kB / 0.9608 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.6694, allocations: 0 / 0.9608 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.6696, allocations: 130.4 kB / 0.9609 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.6699, allocations: 38.69 kB / 0.961 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008018/0.6707, allocations: 0.5938 MB / 0.9615 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.6709, allocations: 0.758 MB / 0.9623 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.671, allocations: 49.41 kB / 0.9623 GB, free: 120 kB / 0.7169 GB Notification: Performance of SimCode: time 1.182e-06/0.671, allocations: 0 / 0.9623 GB, free: 120 kB / 0.7169 GB Notification: Performance of Templates: time 0.007106/0.6781, allocations: 4.197 MB / 0.9664 GB, free: 13.95 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches