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.001338/0.001338, allocations: 108 kB / 15.6 MB, free: 132 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.001445/0.001445, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.515/1.515, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.834/2.834, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 63.89 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8031/0.8054, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002466/0.8079, allocations: 0.6727 MB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.8091, allocations: 0.8351 MB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.037e-05/0.8092, allocations: 0 / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.8092, allocations: 0 / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.003e-05/0.8093, allocations: 7.922 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.8094, allocations: 19.92 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.75e-05/0.8095, allocations: 31.92 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.8097, allocations: 7.984 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.808e-05/0.8097, allocations: 11.94 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.8098, allocations: 15.92 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.8098, allocations: 8 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.8098, allocations: 4 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.417e-05/0.8099, allocations: 11.97 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.8099, allocations: 11.94 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.64e-05/0.81, allocations: 27.89 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.81, allocations: 4 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.703e-06/0.81, allocations: 0 / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.81, allocations: 0 / 1.019 GB, free: 0.7891 MB / 0.7637 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.0006454/0.8107, allocations: 361.4 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.8107, allocations: 12.03 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.8108, allocations: 8.844 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.811, allocations: 168.3 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.8111, allocations: 384 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.8111, allocations: 384 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.8113, allocations: 74.08 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.8113, allocations: 192 / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.8114, allocations: 7.938 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.8114, allocations: 0 / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.8117, allocations: 55.94 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.8122, allocations: 264.9 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.8124, allocations: 62.47 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.8125, allocations: 36.83 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.8126, allocations: 4 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/0.8126, allocations: 30.56 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.8126, allocations: 4 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0005044/0.8131, allocations: 121.5 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.8132, allocations: 55.34 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.8134, allocations: 101.9 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.8135, allocations: 25.7 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.8135, allocations: 92.25 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.8135, allocations: 3.906 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.8136, allocations: 17.72 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.8138, allocations: 310.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.8139, allocations: 36.77 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.8141, allocations: 49.67 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.8143, allocations: 56.8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8143, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002885/0.8146, allocations: 93.67 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.8147, allocations: 8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.8147, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.8147, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.8148, allocations: 16.17 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.8148, allocations: 3.984 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.173e-05/0.8149, allocations: 19.97 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.8149, allocations: 4.031 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000131/0.8151, allocations: 101.7 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.817e-05/0.8152, allocations: 25.7 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001482/0.8153, allocations: 40.81 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.01e-07/0.8153, allocations: 96 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001963/0.8155, allocations: 69.61 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.285e-06/0.8155, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.8156, allocations: 7.984 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-06/0.8156, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.229e-05/0.8156, allocations: 7.938 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-06/0.8156, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.771e-05/0.8157, allocations: 15.89 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-06/0.8157, allocations: 7.969 kB / 1.021 GB, free: 14.2 MB / 0.7794 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.000117/0.8158, allocations: 184.2 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.8159, allocations: 3.984 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.8159, allocations: 7.531 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.8159, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.8159, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.8159, allocations: 7.938 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.8161, allocations: 161.6 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.8161, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.078e-05/0.8162, allocations: 15.98 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.8162, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.8162, allocations: 4 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.8163, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8163, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.8166, allocations: 191.4 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.8167, allocations: 81.02 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.8167, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.519e-05/0.8168, allocations: 11.98 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.8168, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.8168, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.407e-05/0.8169, allocations: 87.27 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8169, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002627/0.8172, allocations: 12.03 kB / 1.022 GB, free: 13.35 MB / 0.7794 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.0001488/0.8173, allocations: 99.25 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.8177, allocations: 79.84 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8177, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.8179, allocations: 36.09 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.8182, allocations: 9.594 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.8186, allocations: 137.5 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.819, allocations: 0.6807 MB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.659e-05/0.819, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.8191, allocations: 11.44 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8192, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of Templates: time 0.003184/0.8223, allocations: 0.5935 MB / 1.024 GB, free: 11.65 MB / 0.7794 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=400 -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/jenkins/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