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.001874/0.001874, allocations: 113.7 kB / 16.37 MB, free: 6.004 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.001894/0.001894, allocations: 196 kB / 17.31 MB, free: 5.613 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.17 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.32/2.32, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 63.41 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3021, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003403/0.3056, allocations: 1.652 MB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.3073, allocations: 1.167 MB / 0.9539 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.052e-05/0.3074, allocations: 4 kB / 0.9539 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.3076, allocations: 19.86 kB / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.308, allocations: 71.61 kB / 0.954 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.3084, allocations: 123.6 kB / 0.9541 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000312/0.3087, allocations: 237.6 kB / 0.9543 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3088, allocations: 28.16 kB / 0.9543 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.309, allocations: 75.83 kB / 0.9544 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.3092, allocations: 91.77 kB / 0.9545 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.3093, allocations: 16 kB / 0.9545 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.3094, allocations: 87.89 kB / 0.9546 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-05/0.3095, allocations: 83.75 kB / 0.9547 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.3096, allocations: 99.39 kB / 0.9548 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.31, allocations: 283 kB / 0.955 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.31, allocations: 0 / 0.955 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.442e-06/0.31, allocations: 8 kB / 0.9551 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.31, allocations: 0 / 0.9551 GB, free: 4.031 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.0007954/0.3108, allocations: 0.5246 MB / 0.9556 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3109, allocations: 8.031 kB / 0.9556 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.681e-05/0.3109, allocations: 24.66 kB / 0.9556 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.3112, allocations: 263.7 kB / 0.9558 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3113, allocations: 12.38 kB / 0.9559 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.3113, allocations: 20.38 kB / 0.9559 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.3117, allocations: 228.5 kB / 0.9561 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3117, allocations: 0 / 0.9561 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.3117, allocations: 4 kB / 0.9561 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3117, allocations: 4 kB / 0.9561 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008265/0.3125, allocations: 0.7412 MB / 0.9568 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.3134, allocations: 0.563 MB / 0.9574 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.3139, allocations: 299.6 kB / 0.9577 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.314, allocations: 101.4 kB / 0.9578 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.367e-05/0.3141, allocations: 24.25 kB / 0.9578 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003191/0.3144, allocations: 172.9 kB / 0.9579 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/0.3144, allocations: 0 / 0.9579 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.0006797/0.3151, allocations: 373.1 kB / 0.9583 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.919e-05/0.3152, allocations: 132.5 kB / 0.9584 GB, free: 360 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.3155, allocations: 304 kB / 0.9587 GB, free: 40 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.3156, allocations: 33.7 kB / 0.9588 GB, free: 0 / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3157, allocations: 124.7 kB / 0.9589 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.427e-05/0.3158, allocations: 106.5 kB / 0.959 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.651e-05/0.3159, allocations: 61.69 kB / 0.959 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.316, allocations: 342.8 kB / 0.9594 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.3162, allocations: 87.88 kB / 0.9594 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.3164, allocations: 135.2 kB / 0.9596 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.3167, allocations: 206.5 kB / 0.9598 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3167, allocations: 7.922 kB / 0.9598 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004251/0.3172, allocations: 281 kB / 0.96 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3172, allocations: 4 kB / 0.96 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3172, allocations: 0 / 0.96 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3172, allocations: 0 / 0.96 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.3175, allocations: 63.91 kB / 0.9601 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.3175, allocations: 4 kB / 0.9601 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.3177, allocations: 35.7 kB / 0.9601 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.3177, allocations: 12 kB / 0.9602 GB, free: 14.52 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.000165/0.3179, allocations: 166.3 kB / 0.9603 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.3179, allocations: 23.72 kB / 0.9603 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006931/0.3186, allocations: 376.4 kB / 0.9607 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3186, allocations: 4 kB / 0.9607 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3186, allocations: 0 / 0.9607 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3187, allocations: 7.938 kB / 0.9607 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.319, allocations: 333.2 kB / 0.961 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.319, allocations: 0 / 0.961 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.3192, allocations: 59.91 kB / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3192, allocations: 0 / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.3192, allocations: 8 kB / 0.9611 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3192, allocations: 4 kB / 0.9611 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.3193, allocations: 3.984 kB / 0.9611 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.3197, allocations: 319.2 kB / 0.9614 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.3199, allocations: 140.7 kB / 0.9615 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.3199, allocations: 4 kB / 0.9615 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.3201, allocations: 15.98 kB / 0.9616 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.3201, allocations: 23.97 kB / 0.9616 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.3202, allocations: 19.92 kB / 0.9616 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001958/0.3204, allocations: 229.6 kB / 0.9618 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.493e-06/0.3204, allocations: 0 / 0.9618 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003042/0.3207, allocations: 67.92 kB / 0.9619 GB, free: 12.65 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.0009202/0.3216, allocations: 404 kB / 0.9623 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000408/0.322, allocations: 235.8 kB / 0.9625 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.322, allocations: 3.938 kB / 0.9625 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.3222, allocations: 127.9 kB / 0.9626 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.3225, allocations: 32.58 kB / 0.9627 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008362/0.3233, allocations: 0.5011 MB / 0.9631 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.3237, allocations: 0.7534 MB / 0.9639 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003136/0.324, allocations: 146.8 kB / 0.964 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.492e-05/0.3241, allocations: 47.41 kB / 0.9641 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of SimCode: time 6.31e-07/0.3241, allocations: 0 / 0.9641 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of Templates: time 0.006865/0.331, allocations: 2.978 MB / 0.967 GB, free: 7.547 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 cvode -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