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.0008498/0.0008496, allocations: 92.16 kB / 16.02 MB, free: 80 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.001079/0.001079, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.328 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.531/2.531, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003801, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7321/0.7325, allocations: 142.4 MB / 0.9557 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001856/0.7344, allocations: 1.361 MB / 0.957 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.7359, allocations: 1.115 MB / 0.9581 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.153e-05/0.7359, allocations: 1.469 kB / 0.9581 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.7362, allocations: 25.62 kB / 0.9581 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.7364, allocations: 55.36 kB / 0.9582 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.7367, allocations: 122.6 kB / 0.9583 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000228/0.737, allocations: 216.7 kB / 0.9585 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.7371, allocations: 17.58 kB / 0.9585 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.095e-05/0.7372, allocations: 64.08 kB / 0.9586 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.7374, allocations: 93.03 kB / 0.9587 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.7374, allocations: 9.219 kB / 0.9587 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.7376, allocations: 65.28 kB / 0.9588 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.61e-05/0.7377, allocations: 68.86 kB / 0.9588 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.194e-05/0.7378, allocations: 116.8 kB / 0.9589 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.738, allocations: 206.1 kB / 0.9591 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.738, allocations: 0 / 0.9591 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.404e-06/0.738, allocations: 0 / 0.9591 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.738, allocations: 1.375 kB / 0.9591 GB, free: 5.117 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.0006007/0.7386, allocations: 495.6 kB / 0.9596 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.7387, allocations: 9.844 kB / 0.9596 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.7388, allocations: 24.34 kB / 0.9596 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.739, allocations: 265.5 kB / 0.9599 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.739, allocations: 13.27 kB / 0.9599 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.7391, allocations: 18.88 kB / 0.9599 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.7394, allocations: 225.7 kB / 0.9601 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.7394, allocations: 0 / 0.9601 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.7394, allocations: 5.344 kB / 0.9601 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.7395, allocations: 4.469 kB / 0.9602 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000794/0.7403, allocations: 0.7347 MB / 0.9609 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007503/0.741, allocations: 0.5737 MB / 0.9614 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.7415, allocations: 302.8 kB / 0.9617 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.7417, allocations: 98.72 kB / 0.9618 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.037e-05/0.7417, allocations: 21.19 kB / 0.9618 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003204/0.7421, allocations: 176.8 kB / 0.962 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.693e-06/0.7421, allocations: 4 kB / 0.962 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.000637/0.7427, allocations: 362.8 kB / 0.9624 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.7428, allocations: 137.2 kB / 0.9625 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.7431, allocations: 300.2 kB / 0.9628 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.7431, allocations: 30.8 kB / 0.9628 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.7432, allocations: 126.2 kB / 0.9629 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.362e-05/0.7433, allocations: 112.8 kB / 0.963 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.7433, allocations: 30.55 kB / 0.9631 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.7434, allocations: 341.9 kB / 0.9634 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.7435, allocations: 80.67 kB / 0.9635 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.7437, allocations: 123.8 kB / 0.9636 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.744, allocations: 216.7 kB / 0.9638 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.744, allocations: 0 / 0.9638 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000402/0.7444, allocations: 283 kB / 0.9641 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7445, allocations: 4.781 kB / 0.9641 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.7445, allocations: 1.438 kB / 0.9641 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.7445, allocations: 5.156 kB / 0.9641 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.7447, allocations: 58.75 kB / 0.9641 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.7447, allocations: 6.375 kB / 0.9641 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.7449, allocations: 31.19 kB / 0.9642 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.7449, allocations: 17.3 kB / 0.9642 GB, free: 1.453 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.0001399/0.7451, allocations: 165.4 kB / 0.9643 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.7451, allocations: 27.53 kB / 0.9644 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006133/0.7458, allocations: 376.3 kB / 0.9647 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.7458, allocations: 3.656 kB / 0.9647 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7458, allocations: 3.938 kB / 0.9647 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.7458, allocations: 9.266 kB / 0.9647 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.7461, allocations: 331.5 kB / 0.965 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7461, allocations: 0 / 0.965 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.7463, allocations: 60.78 kB / 0.9651 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.7463, allocations: 1.906 kB / 0.9651 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.7463, allocations: 12.16 kB / 0.9651 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.7463, allocations: 6.047 kB / 0.9651 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7463, allocations: 0 / 0.9651 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.7467, allocations: 321 kB / 0.9654 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.7468, allocations: 150.2 kB / 0.9656 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.7469, allocations: 10.31 kB / 0.9656 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.747, allocations: 21.17 kB / 0.9656 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.7471, allocations: 20.41 kB / 0.9656 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.7471, allocations: 17.03 kB / 0.9656 GB, free: 380 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001892/0.7473, allocations: 232 kB / 0.9659 GB, free: 232 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7473, allocations: 0 / 0.9659 GB, free: 232 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003074/0.7477, allocations: 59.44 kB / 0.9659 GB, free: 216 kB / 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.0009402/0.7486, allocations: 409.3 kB / 0.9663 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.7491, allocations: 227.5 kB / 0.9665 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.7491, allocations: 5.031 kB / 0.9665 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.7493, allocations: 128.8 kB / 0.9667 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.7496, allocations: 35.86 kB / 0.9667 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.7506, allocations: 0.613 MB / 0.9673 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.7509, allocations: 0.7538 MB / 0.968 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.7511, allocations: 52.72 kB / 0.9681 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.7511, allocations: 0 / 0.9681 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of Templates: time 0.00728/0.7583, allocations: 4.159 MB / 0.9721 GB, free: 12.52 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