Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 104.6 kB / 16.27 MB, free: 6.414 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.001964/0.001964, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.434/1.434, allocations: 222.9 MB / 240.9 MB, free: 15.24 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.582/2.582, allocations: 437.1 MB / 0.7111 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 71.95 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3141, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001947/0.3161, allocations: 0.6597 MB / 1.019 GB, free: 9.973 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009797/0.3171, allocations: 0.8508 MB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.3172, allocations: 0 / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.3172, allocations: 0 / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.62e-05/0.3173, allocations: 7.938 kB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.3174, allocations: 19.92 kB / 1.02 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.992e-05/0.3175, allocations: 23.92 kB / 1.02 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.021e-05/0.3176, allocations: 7.984 kB / 1.02 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.486e-05/0.3176, allocations: 11.94 kB / 1.02 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.366e-05/0.3177, allocations: 7.984 kB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3177, allocations: 4 kB / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-06/0.3177, allocations: 0 / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.3177, allocations: 7.938 kB / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.3178, allocations: 11.98 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.367e-05/0.3178, allocations: 19.91 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3178, allocations: 0 / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3178, allocations: 0 / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3178, allocations: 0 / 1.02 GB, free: 8.988 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.0004611/0.3183, allocations: 335.8 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.3183, allocations: 8.922 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.3184, allocations: 4.844 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3185, allocations: 180.2 kB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3185, allocations: 4.375 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.3186, allocations: 4.375 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.3187, allocations: 46.23 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3188, allocations: 192 / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3188, allocations: 7.938 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3188, allocations: 0 / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.3189, allocations: 35.95 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.3193, allocations: 245 kB / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.3194, allocations: 42.44 kB / 1.02 GB, free: 7.941 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.051e-05/0.3195, allocations: 28.83 kB / 1.02 GB, free: 7.91 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3195, allocations: 0 / 1.02 GB, free: 7.91 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3196, allocations: 34.56 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3196, allocations: 0 / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003756/0.32, allocations: 85.58 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.32, allocations: 51.41 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/0.3201, allocations: 97.86 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3201, allocations: 25.7 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.3202, allocations: 92.25 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.3202, allocations: 3.906 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.3203, allocations: 13.72 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3204, allocations: 314.8 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.3205, allocations: 15.98 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/0.3206, allocations: 15.97 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.3207, allocations: 40.89 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3207, allocations: 0 / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002106/0.321, allocations: 81.38 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.321, allocations: 4 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.321, allocations: 0 / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.321, allocations: 0 / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.3211, allocations: 20.02 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.3211, allocations: 0 / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.3212, allocations: 4 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.3212, allocations: 0 / 1.021 GB, free: 6.957 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.899e-05/0.3213, allocations: 113.8 kB / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.3213, allocations: 4 kB / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.3213, allocations: 3.125 kB / 1.021 GB, free: 6.828 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3213, allocations: 0 / 1.021 GB, free: 6.828 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3213, allocations: 0 / 1.021 GB, free: 6.828 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.3213, allocations: 4 kB / 1.021 GB, free: 6.824 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.3215, allocations: 161.6 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3215, allocations: 4 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.3216, allocations: 11.98 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3216, allocations: 0 / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.3216, allocations: 0 / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3216, allocations: 0 / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3216, allocations: 3.938 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.3219, allocations: 167.4 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.3219, allocations: 81.11 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.322, allocations: 4.172 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.322, allocations: 8 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.3221, allocations: 3.984 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.3221, allocations: 0 / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.436e-05/0.3221, allocations: 83.27 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3221, allocations: 4.031 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002111/0.3224, allocations: 4 kB / 1.022 GB, free: 6.215 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.000129/0.3225, allocations: 99.25 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.3227, allocations: 43.95 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.3227, allocations: 3.938 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.3228, allocations: 20.05 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.3231, allocations: 3.938 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.3234, allocations: 139.2 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.3237, allocations: 0.6768 MB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.3237, allocations: 11.44 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.3237, allocations: 0 / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of Templates: time 0.0019/0.3256, allocations: 0.5341 MB / 1.023 GB, free: 4.621 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches