Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Controls.OBC.CDL.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 101.7 kB / 16.27 MB, free: 5.996 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.001139/0.001139, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.3 MB / 0.6653 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 64.62 kB / 0.8132 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2864, allocations: 140.4 MB / 0.9503 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter): time 0.002228/0.2887, allocations: 0.6651 MB / 0.9509 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009907/0.2897, allocations: 0.8371 MB / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.2898, allocations: 0 / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.2898, allocations: 4 kB / 0.9518 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.502e-05/0.2899, allocations: 3.938 kB / 0.9518 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.2901, allocations: 19.91 kB / 0.9518 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.586e-05/0.2902, allocations: 35.92 kB / 0.9518 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2903, allocations: 8 kB / 0.9518 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.367e-05/0.2904, allocations: 15.92 kB / 0.9518 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.2904, allocations: 15.92 kB / 0.9519 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.2904, allocations: 4 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.2905, allocations: 0 / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.2905, allocations: 19.97 kB / 0.9519 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.2905, allocations: 7.938 kB / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.466e-05/0.2906, allocations: 35.89 kB / 0.9519 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2906, allocations: 0 / 0.9519 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2906, allocations: 0 / 0.9519 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.2906, allocations: 0 / 0.9519 GB, free: 7.148 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005435/0.2912, allocations: 359.7 kB / 0.9523 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2912, allocations: 11.97 kB / 0.9523 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.2913, allocations: 12.84 kB / 0.9523 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.2914, allocations: 160.4 kB / 0.9524 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.2914, allocations: 384 / 0.9524 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.2914, allocations: 4.375 kB / 0.9524 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.2917, allocations: 62.16 kB / 0.9525 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2917, allocations: 192 / 0.9525 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.2917, allocations: 11.94 kB / 0.9525 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2917, allocations: 3.984 kB / 0.9525 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.292, allocations: 55.92 kB / 0.9526 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.2924, allocations: 265 kB / 0.9528 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.2926, allocations: 66.47 kB / 0.9529 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.2928, allocations: 32.83 kB / 0.9529 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.2928, allocations: 0 / 0.9529 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.2928, allocations: 34.56 kB / 0.953 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.2928, allocations: 0 / 0.953 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000488/0.2933, allocations: 117.5 kB / 0.9531 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.2934, allocations: 55.39 kB / 0.9531 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.895e-05/0.2935, allocations: 101.9 kB / 0.9532 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.2935, allocations: 25.7 kB / 0.9532 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.2935, allocations: 88.12 kB / 0.9533 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.2936, allocations: 7.891 kB / 0.9533 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.2936, allocations: 17.84 kB / 0.9534 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2937, allocations: 318.8 kB / 0.9537 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.2939, allocations: 40.7 kB / 0.9537 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.294, allocations: 41.69 kB / 0.9537 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.2942, allocations: 56.8 kB / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2943, allocations: 0 / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002953/0.2946, allocations: 93.69 kB / 0.9539 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2946, allocations: 8 kB / 0.9539 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2946, allocations: 0 / 0.9539 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2946, allocations: 0 / 0.9539 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.2947, allocations: 15.98 kB / 0.9539 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2947, allocations: 7.922 kB / 0.9539 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.724e-05/0.2948, allocations: 11.98 kB / 0.9539 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.2948, allocations: 3.984 kB / 0.9539 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000116/0.295, allocations: 96.12 kB / 0.954 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.496e-05/0.2951, allocations: 33.7 kB / 0.954 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000153/0.2952, allocations: 40.81 kB / 0.9541 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.12e-07/0.2952, allocations: 0 / 0.9541 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.000196/0.2954, allocations: 73.61 kB / 0.9542 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.2954, allocations: 4 kB / 0.9542 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/0.2954, allocations: 4.188 kB / 0.9542 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-06/0.2955, allocations: 0 / 0.9542 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.2955, allocations: 19.92 kB / 0.9542 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-06/0.2955, allocations: 0 / 0.9542 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.238e-05/0.2956, allocations: 11.92 kB / 0.9542 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.2956, allocations: 4 kB / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.252e-05/0.2957, allocations: 188.2 kB / 0.9544 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.2957, allocations: 0 / 0.9544 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.2958, allocations: 11.52 kB / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2958, allocations: 0 / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2958, allocations: 0 / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2958, allocations: 0 / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.296, allocations: 161.6 kB / 0.9545 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.296, allocations: 4 kB / 0.9545 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.14e-05/0.296, allocations: 15.98 kB / 0.9546 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2961, allocations: 0 / 0.9546 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.2961, allocations: 4 kB / 0.9546 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2961, allocations: 0 / 0.9546 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2961, allocations: 3.938 kB / 0.9546 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.2964, allocations: 187.4 kB / 0.9547 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.2965, allocations: 85.05 kB / 0.9548 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.2965, allocations: 4 kB / 0.9548 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.288e-05/0.2966, allocations: 7.984 kB / 0.9548 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.2966, allocations: 0 / 0.9548 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2966, allocations: 4 kB / 0.9548 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.46e-05/0.2967, allocations: 87.27 kB / 0.9549 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2967, allocations: 0 / 0.9549 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002742/0.297, allocations: 8 kB / 0.9549 GB, free: 3.711 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001362/0.2971, allocations: 99.25 kB / 0.955 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003814/0.2975, allocations: 79.91 kB / 0.9551 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2975, allocations: 0 / 0.9551 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.2977, allocations: 32.03 kB / 0.9551 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.298, allocations: 16 kB / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.2984, allocations: 147.3 kB / 0.9553 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.2986, allocations: 0.6766 MB / 0.956 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.2987, allocations: 15.42 kB / 0.956 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2987, allocations: 0 / 0.956 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of Templates: time 0.001949/0.3006, allocations: 0.641 MB / 0.9566 GB, free: 1.953 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches