Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, 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.001881/0.001881, allocations: 193.6 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 69.28 kB / 0.8992 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2736, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001864/0.2755, allocations: 0.6692 MB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.2764, allocations: 0.8508 MB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.2764, allocations: 0 / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.2765, allocations: 3.938 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.2765, allocations: 7.938 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.2767, allocations: 7.984 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.06e-05/0.2767, allocations: 23.92 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.909e-05/0.2768, allocations: 4 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.202e-05/0.2769, allocations: 19.92 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.582e-05/0.2769, allocations: 7.984 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.277, allocations: 0 / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.277, allocations: 4 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.277, allocations: 11.88 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.277, allocations: 11.98 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.256e-05/0.2771, allocations: 19.91 kB / 1.055 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2771, allocations: 0 / 1.055 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2771, allocations: 0 / 1.055 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2771, allocations: 0 / 1.055 GB, free: 6.609 MB / 0.8106 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.0004136/0.2775, allocations: 339.8 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.2776, allocations: 12.62 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.019e-05/0.2776, allocations: 30.75 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.187e-05/0.2777, allocations: 4.844 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.2778, allocations: 164.4 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2778, allocations: 4.375 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.2778, allocations: 384 / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.278, allocations: 54.17 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.278, allocations: 7.938 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.278, allocations: 0 / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.278, allocations: 0 / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.2782, allocations: 35.95 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.2785, allocations: 244.9 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.2786, allocations: 50.42 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.783e-05/0.2787, allocations: 20.91 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.2787, allocations: 3.984 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.2788, allocations: 34.56 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2788, allocations: 0 / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003298/0.2791, allocations: 81.64 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.2791, allocations: 55.41 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.644e-05/0.2792, allocations: 97.84 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.2792, allocations: 29.7 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.2793, allocations: 80.14 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.2793, allocations: 7.906 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.2793, allocations: 13.66 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.2794, allocations: 319 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.554e-05/0.2795, allocations: 19.97 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.2796, allocations: 15.98 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.2798, allocations: 36.83 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2798, allocations: 3.938 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001855/0.28, allocations: 69.62 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.28, allocations: 9.094 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.28, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.28, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.014e-05/0.2801, allocations: 7.984 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2801, allocations: 7.938 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.2802, allocations: 7.938 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.2802, allocations: 0 / 1.056 GB, free: 4.543 MB / 0.8106 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 6.051e-05/0.2802, allocations: 121.8 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.2803, allocations: 0 / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.751e-05/0.2803, allocations: 7.125 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2803, allocations: 4 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2803, allocations: 0 / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.2803, allocations: 0 / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.2805, allocations: 157.6 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2805, allocations: 3.984 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.2805, allocations: 8 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2805, allocations: 4 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.2805, allocations: 3.938 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2805, allocations: 0 / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2806, allocations: 0 / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.2808, allocations: 167.4 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.2808, allocations: 81.28 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.2808, allocations: 8.031 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.2809, allocations: 0 / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.281, allocations: 11.97 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.281, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.281, allocations: 83.28 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.281, allocations: 0 / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002079/0.2812, allocations: 7.906 kB / 1.057 GB, free: 3.797 MB / 0.8106 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.0004794/0.2817, allocations: 0.6967 MB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001887/0.2819, allocations: 43.89 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2819, allocations: 96 / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.652e-05/0.282, allocations: 19.98 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.2823, allocations: 4 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.2826, allocations: 131.3 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.2829, allocations: 0.6768 MB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.132e-05/0.2829, allocations: 4 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.2829, allocations: 15.5 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.2829, allocations: 0 / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.2982, allocations: 1.233 MB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.913/10.21, allocations: 7.344 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches