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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001446/0.001446, allocations: 100.6 kB / 16.36 MB, free: 6.441 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.001642/0.001643, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 74.58 kB / 0.8707 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3105, allocations: 151.6 MB / 1.019 GB, free: 9.797 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001801/0.3123, allocations: 0.6723 MB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008843/0.3132, allocations: 0.839 MB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.3133, allocations: 4 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.3133, allocations: 0 / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.973e-05/0.3133, allocations: 3.938 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.3135, allocations: 15.92 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.136e-05/0.3136, allocations: 35.92 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3137, allocations: 15.97 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.373e-05/0.3137, allocations: 11.94 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/0.3138, allocations: 15.92 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3138, allocations: 4 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.3138, allocations: 4 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.3138, allocations: 7.984 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.3139, allocations: 11.94 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.626e-05/0.314, allocations: 35.88 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.314, allocations: 4 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.343e-06/0.314, allocations: 0 / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.314, allocations: 0 / 1.02 GB, free: 8.105 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.0004824/0.3145, allocations: 363.3 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3145, allocations: 12.62 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.3145, allocations: 0.9375 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.3147, allocations: 164.4 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3147, allocations: 4.359 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.3147, allocations: 8.312 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.3149, allocations: 66.2 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.3149, allocations: 4.125 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3149, allocations: 7.938 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3149, allocations: 0 / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.3152, allocations: 51.94 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.3155, allocations: 268.9 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.3158, allocations: 66.41 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.3159, allocations: 36.83 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3159, allocations: 0 / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.3159, allocations: 38.56 kB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.3159, allocations: 0 / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0004135/0.3164, allocations: 113.7 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.3164, allocations: 51.41 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.3165, allocations: 105.8 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.3165, allocations: 25.7 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.3166, allocations: 92.12 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.3166, allocations: 3.906 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.3166, allocations: 13.72 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3167, allocations: 314.8 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3169, allocations: 36.86 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.317, allocations: 41.67 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.3172, allocations: 60.89 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3172, allocations: 256 / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002553/0.3175, allocations: 89.58 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.3175, allocations: 7.938 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3175, allocations: 4 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3175, allocations: 4 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3176, allocations: 16.02 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3176, allocations: 0 / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.3177, allocations: 15.97 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.3177, allocations: 0 / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001111/0.3179, allocations: 100.1 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.305e-05/0.3179, allocations: 25.7 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001245/0.3181, allocations: 44.91 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/0.3181, allocations: 3.984 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.00017/0.3183, allocations: 73.45 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/0.3183, allocations: 4 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/0.3183, allocations: 0 / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-06/0.3183, allocations: 8.016 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.552e-05/0.3183, allocations: 8 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-06/0.3183, allocations: 0 / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.819e-05/0.3184, allocations: 15.92 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.3184, allocations: 0 / 1.023 GB, free: 5.527 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 7.887e-05/0.3185, allocations: 192.1 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.3185, allocations: 7.984 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.3186, allocations: 3.531 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3186, allocations: 4 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3186, allocations: 0 / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3186, allocations: 0 / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.3187, allocations: 165.6 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3187, allocations: 0 / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.712e-05/0.3188, allocations: 15.98 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3188, allocations: 0 / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.3188, allocations: 0 / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3189, allocations: 4 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3189, allocations: 0 / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.3192, allocations: 191.4 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.3192, allocations: 81.02 kB / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.3192, allocations: 0 / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.889e-05/0.3193, allocations: 11.98 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.3194, allocations: 8.016 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.3194, allocations: 0 / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.3194, allocations: 91.27 kB / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3194, allocations: 0 / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002689/0.3197, allocations: 8 kB / 1.023 GB, free: 4.668 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.0001256/0.3198, allocations: 99.25 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.3202, allocations: 83.84 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3202, allocations: 0 / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3203, allocations: 31.97 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.3206, allocations: 6.344 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.3209, allocations: 133.8 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.3211, allocations: 0.6807 MB / 1.024 GB, free: 3.578 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.431e-05/0.3212, allocations: 0 / 1.024 GB, free: 3.578 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.3212, allocations: 11.44 kB / 1.024 GB, free: 3.566 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3212, allocations: 0 / 1.024 GB, free: 3.566 MB / 0.795 GB Notification: Performance of Templates: time 0.002568/0.3238, allocations: 0.5983 MB / 1.025 GB, free: 2.973 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 -s gbode -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