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.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.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.00112/0.00112, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001551/0.001551, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.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.759/2.759, allocations: 437.7 MB / 0.7117 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004089, allocations: 23.92 kB / 0.8722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8253/0.8257, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001014/0.8268, allocations: 394.3 kB / 1.023 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.8279, allocations: 0.8469 MB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.8279, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/0.8279, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.719e-05/0.828, allocations: 7.984 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.8282, allocations: 4 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.023e-05/0.8283, allocations: 19.92 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.8284, allocations: 4 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.969e-05/0.8284, allocations: 11.94 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.8285, allocations: 3.984 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.8285, allocations: 8 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.8285, allocations: 0 / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.8286, allocations: 7.922 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.8286, allocations: 29.7 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.566e-05/0.8287, allocations: 11.97 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8287, allocations: 0 / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.005e-06/0.8287, allocations: 3.984 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.8287, allocations: 0 / 1.024 GB, free: 14.68 MB / 0.7794 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.0004655/0.8292, allocations: 342.8 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.8292, allocations: 12.56 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.8292, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.8294, allocations: 163.1 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.8294, allocations: 4 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.8294, allocations: 0 / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.8296, allocations: 57.62 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.8296, allocations: 4 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.8296, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.8297, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.8298, allocations: 43.91 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.8302, allocations: 256.8 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.8303, allocations: 42.56 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.8304, allocations: 24.91 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.8305, allocations: 4 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.8305, allocations: 42.48 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.736e-06/0.8305, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000359/0.8309, allocations: 97.69 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.8309, allocations: 55.39 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.206e-05/0.831, allocations: 101.8 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.831, allocations: 29.7 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.8311, allocations: 84.14 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.8311, allocations: 7.844 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.8311, allocations: 0 / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.8312, allocations: 318.9 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.637e-05/0.8313, allocations: 23.98 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.8314, allocations: 15.98 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.8315, allocations: 31.98 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8315, allocations: 0 / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001903/0.8317, allocations: 77.61 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.8317, allocations: 4 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.8317, allocations: 8.031 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.8318, allocations: 0 / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.759e-05/0.8319, allocations: 11.98 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.8319, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.8319, allocations: 7.984 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.8319, allocations: 7.984 kB / 1.026 GB, free: 12.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.852e-05/0.832, allocations: 113.8 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.8321, allocations: 3.953 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.8321, allocations: 7.125 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8321, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.8321, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.8321, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.8323, allocations: 157.7 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8323, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.8324, allocations: 11.94 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.8324, allocations: 3.953 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.8324, allocations: 11.98 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8324, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8324, allocations: 4 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.8326, allocations: 175.4 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.8327, allocations: 77.11 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.8327, allocations: 3.953 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.8328, allocations: 11.94 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.8328, allocations: 3.984 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.8328, allocations: 4 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.635e-05/0.8329, allocations: 79.28 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8329, allocations: 0 / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002139/0.8331, allocations: 8.031 kB / 1.026 GB, free: 11.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001359/0.8333, allocations: 103.2 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.8335, allocations: 47.89 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8335, allocations: 12 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.736e-05/0.8336, allocations: 23.98 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.8339, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.8342, allocations: 110.7 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.8344, allocations: 0.681 MB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.8345, allocations: 0 / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.8345, allocations: 7.438 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.8345, allocations: 0 / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of Templates: time 0.002435/0.8369, allocations: 346.9 kB / 1.027 GB, free: 10.49 MB / 0.7794 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=480 -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/jenkins/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