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.00169/0.00169, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.00213/0.00213, allocations: 191 kB / 17.29 MB, free: 5.516 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.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.219/2.219, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 73.25 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3333, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003178/0.3365, allocations: 1.637 MB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.3382, allocations: 1.171 MB / 0.9539 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.3382, allocations: 0 / 0.9539 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.3385, allocations: 23.84 kB / 0.9539 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.3388, allocations: 75.62 kB / 0.954 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.3391, allocations: 127.6 kB / 0.9541 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.3394, allocations: 237.6 kB / 0.9543 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.973e-05/0.3395, allocations: 12.23 kB / 0.9543 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.3396, allocations: 83.75 kB / 0.9544 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.3398, allocations: 95.77 kB / 0.9545 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.3398, allocations: 20 kB / 0.9545 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.34, allocations: 75.97 kB / 0.9546 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-05/0.3401, allocations: 83.8 kB / 0.9547 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.3402, allocations: 107.3 kB / 0.9548 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.3405, allocations: 283 kB / 0.955 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3405, allocations: 0 / 0.955 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3405, allocations: 0 / 0.955 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3406, allocations: 0 / 0.955 GB, free: 4.051 MB / 0.7325 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.000786/0.3413, allocations: 0.5267 MB / 0.9556 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3414, allocations: 12.03 kB / 0.9556 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.241e-05/0.3415, allocations: 24.66 kB / 0.9556 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.3418, allocations: 263.7 kB / 0.9558 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.361e-05/0.3418, allocations: 8.375 kB / 0.9558 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.3419, allocations: 24.31 kB / 0.9559 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.3423, allocations: 220.5 kB / 0.9561 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.3423, allocations: 4 kB / 0.9561 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.3423, allocations: 8 kB / 0.9561 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3423, allocations: 4 kB / 0.9561 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008688/0.3432, allocations: 0.7373 MB / 0.9568 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000811/0.344, allocations: 0.563 MB / 0.9574 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/0.3445, allocations: 291.6 kB / 0.9576 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.3446, allocations: 109.4 kB / 0.9577 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/0.3447, allocations: 20.23 kB / 0.9578 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/0.345, allocations: 172.9 kB / 0.9579 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=34): time 1.693e-06/0.345, allocations: 0 / 0.9579 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.0006831/0.3457, allocations: 381 kB / 0.9583 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.871e-05/0.3458, allocations: 132.5 kB / 0.9584 GB, free: 372 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.3461, allocations: 304 kB / 0.9587 GB, free: 52 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.3462, allocations: 29.7 kB / 0.9587 GB, free: 16 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3463, allocations: 124.7 kB / 0.9589 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.092e-05/0.3464, allocations: 110.5 kB / 0.959 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.404e-05/0.3465, allocations: 65.69 kB / 0.959 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3466, allocations: 338.8 kB / 0.9594 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.3468, allocations: 79.95 kB / 0.9594 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.347, allocations: 131.2 kB / 0.9596 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.3474, allocations: 214.4 kB / 0.9598 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3474, allocations: 4 kB / 0.9598 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004404/0.3478, allocations: 277 kB / 0.96 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3478, allocations: 5.875 kB / 0.96 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.3479, allocations: 7.969 kB / 0.96 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3479, allocations: 4 kB / 0.96 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.3481, allocations: 59.91 kB / 0.9601 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3481, allocations: 0 / 0.9601 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.3483, allocations: 35.7 kB / 0.9601 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.3483, allocations: 12 kB / 0.9601 GB, free: 14.54 MB / 0.7481 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.0001545/0.3485, allocations: 160.2 kB / 0.9603 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.3485, allocations: 27.72 kB / 0.9603 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006915/0.3492, allocations: 380.5 kB / 0.9607 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.3493, allocations: 4 kB / 0.9607 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3493, allocations: 3.938 kB / 0.9607 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3493, allocations: 3.938 kB / 0.9607 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.3496, allocations: 329.2 kB / 0.961 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3496, allocations: 3.984 kB / 0.961 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.3498, allocations: 59.92 kB / 0.9611 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.3498, allocations: 4 kB / 0.9611 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.3498, allocations: 11.98 kB / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3498, allocations: 0 / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3498, allocations: 0 / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.3503, allocations: 323.1 kB / 0.9614 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.3504, allocations: 140.7 kB / 0.9615 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.3504, allocations: 8 kB / 0.9615 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3506, allocations: 15.98 kB / 0.9616 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.3507, allocations: 27.97 kB / 0.9616 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.3507, allocations: 15.94 kB / 0.9616 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001892/0.3509, allocations: 229.6 kB / 0.9618 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3509, allocations: 0 / 0.9618 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002915/0.3512, allocations: 60 kB / 0.9619 GB, free: 12.67 MB / 0.7481 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.0009557/0.3522, allocations: 410.3 kB / 0.9623 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004092/0.3526, allocations: 231.8 kB / 0.9625 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3526, allocations: 4 kB / 0.9625 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.3528, allocations: 131.8 kB / 0.9626 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.3531, allocations: 32.66 kB / 0.9626 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007775/0.3538, allocations: 0.4933 MB / 0.9631 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.3542, allocations: 0.7612 MB / 0.9639 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003133/0.3545, allocations: 142.9 kB / 0.964 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.32e-05/0.3546, allocations: 39.42 kB / 0.964 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.3546, allocations: 0 / 0.964 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of Templates: time 0.006489/0.3611, allocations: 2.986 MB / 0.967 GB, free: 7.562 MB / 0.7481 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 -s gbode -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