Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001434, allocations: 103.2 kB / 16.27 MB, free: 5.961 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.001632/0.001632, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.427/1.427, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.498/2.498, allocations: 437 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 75.73 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3214, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002618/0.3241, allocations: 0.6691 MB / 1.019 GB, free: 9.977 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.3255, allocations: 0.8351 MB / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.3255, allocations: 0 / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.479e-05/0.3257, allocations: 7.938 kB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.3257, allocations: 0 / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.326, allocations: 23.92 kB / 1.019 GB, free: 9.098 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3261, allocations: 27.92 kB / 1.02 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.3263, allocations: 8 kB / 1.02 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.084e-05/0.3264, allocations: 19.91 kB / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.3264, allocations: 15.92 kB / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.3265, allocations: 4 kB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.3265, allocations: 4 kB / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.3265, allocations: 8 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.3266, allocations: 15.92 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.3267, allocations: 31.88 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3267, allocations: 4 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.454e-06/0.3267, allocations: 0 / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.3267, allocations: 0 / 1.02 GB, free: 8.961 MB / 0.795 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.0006353/0.3274, allocations: 355.6 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3274, allocations: 12.92 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.3275, allocations: 8.922 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.3276, allocations: 168.3 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.3276, allocations: 384 / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.3277, allocations: 4.375 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.3279, allocations: 66.2 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3279, allocations: 192 / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.328, allocations: 3.938 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.328, allocations: 3.938 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.3282, allocations: 55.94 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.3288, allocations: 272.8 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.329, allocations: 66.41 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.3292, allocations: 32.89 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.3292, allocations: 4 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.014e-05/0.3293, allocations: 34.5 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3293, allocations: 0 / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.000548/0.3299, allocations: 109.6 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.3299, allocations: 55.34 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.33, allocations: 106 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3301, allocations: 25.7 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.3301, allocations: 88.14 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.3301, allocations: 8.031 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.3302, allocations: 21.7 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3304, allocations: 310.8 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.3305, allocations: 32.83 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.3307, allocations: 49.75 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.3309, allocations: 56.8 kB / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3309, allocations: 0 / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003256/0.3313, allocations: 93.61 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3313, allocations: 11.98 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.3313, allocations: 0 / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.3313, allocations: 0 / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3314, allocations: 11.98 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3315, allocations: 0 / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.3315, allocations: 15.98 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.3316, allocations: 0 / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001277/0.3317, allocations: 104.1 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.017e-05/0.3318, allocations: 29.7 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001407/0.3319, allocations: 32.83 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.92e-07/0.3319, allocations: 0 / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0002018/0.3322, allocations: 81.53 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.3322, allocations: 4 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3322, allocations: 7.984 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-06/0.3322, allocations: 0 / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.3323, allocations: 11.98 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-06/0.3323, allocations: 0 / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/0.3323, allocations: 15.92 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-06/0.3323, allocations: 0 / 1.022 GB, free: 6.383 MB / 0.795 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 0.0001376/0.3325, allocations: 188.2 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.3325, allocations: 0 / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.3326, allocations: 11.41 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3326, allocations: 0 / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3326, allocations: 0 / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3326, allocations: 4 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.3328, allocations: 165.6 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3328, allocations: 0 / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.912e-05/0.3329, allocations: 15.97 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3329, allocations: 4 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3329, allocations: 4 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3329, allocations: 0 / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3329, allocations: 0 / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.3332, allocations: 183.4 kB / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.3333, allocations: 89.03 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.3333, allocations: 0 / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.38e-05/0.3334, allocations: 15.98 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.3335, allocations: 0 / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3335, allocations: 0 / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.228e-05/0.3335, allocations: 83.28 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3335, allocations: 4 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002683/0.3338, allocations: 4 kB / 1.023 GB, free: 5.535 MB / 0.795 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.000177/0.334, allocations: 107.2 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003894/0.3344, allocations: 79.86 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3344, allocations: 0 / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.3345, allocations: 36.09 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.3349, allocations: 7.922 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.3354, allocations: 155.3 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.3357, allocations: 0.6768 MB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.3358, allocations: 7.438 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of SimCode: time 4.9e-07/0.3358, allocations: 8.062 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of Templates: time 0.002249/0.338, allocations: 0.6308 MB / 1.024 GB, free: 3.773 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches