Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.001241/0.001241, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001269/0.001269, allocations: 188.9 kB / 16.25 MB, free: 6.645 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.241/1.241, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.42/2.42, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 68.89 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.201, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001494/0.2025, allocations: 0.768 MB / 1.053 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006943/0.2032, allocations: 0.8351 MB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.2033, allocations: 0 / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.2033, allocations: 3.938 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.695e-05/0.2034, allocations: 0 / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.779e-05/0.2035, allocations: 19.98 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.038e-05/0.2035, allocations: 51.83 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.649e-05/0.2036, allocations: 16 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.879e-05/0.2037, allocations: 19.98 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.2037, allocations: 27.84 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.2038, allocations: 4 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.2038, allocations: 4 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.2038, allocations: 15.97 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.2038, allocations: 15.88 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.973e-05/0.2039, allocations: 51.84 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2039, allocations: 4 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2039, allocations: 0 / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.2039, allocations: 3.938 kB / 1.054 GB, free: 6.777 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003704/0.2043, allocations: 353.2 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.2043, allocations: 12.62 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.66e-05/0.2044, allocations: 30.75 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.187e-05/0.2044, allocations: 4.938 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.119e-05/0.2045, allocations: 164.3 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2045, allocations: 8.375 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.2045, allocations: 4.375 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.2047, allocations: 73.58 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.2047, allocations: 3.938 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.2047, allocations: 0 / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-06/0.2047, allocations: 0 / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.2049, allocations: 55.89 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.2052, allocations: 288.8 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.2054, allocations: 66.53 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.2055, allocations: 24.92 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.2055, allocations: 7.984 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.2055, allocations: 42.5 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.2055, allocations: 0 / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003429/0.2059, allocations: 109.5 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.2059, allocations: 51.41 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.645e-05/0.206, allocations: 105.9 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.206, allocations: 25.7 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.206, allocations: 96.12 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.206, allocations: 7.812 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.2061, allocations: 21.7 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.2062, allocations: 322.7 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.96e-05/0.2063, allocations: 23.97 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.954e-05/0.2063, allocations: 23.92 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.2065, allocations: 65.08 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2065, allocations: 0 / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002055/0.2067, allocations: 85.64 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.2067, allocations: 4 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.2068, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.2068, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.2069, allocations: 11.98 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2069, allocations: 11.98 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.207, allocations: 8.234 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.207, allocations: 4 kB / 1.056 GB, free: 4.465 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: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.909e-05/0.207, allocations: 117.7 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.2071, allocations: 7.906 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.957e-05/0.2071, allocations: 11.89 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2071, allocations: 0 / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2071, allocations: 0 / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.2071, allocations: 4 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.2072, allocations: 173.6 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2072, allocations: 0 / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.2073, allocations: 15.97 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2073, allocations: 0 / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.2073, allocations: 4 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2074, allocations: 0 / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2074, allocations: 3.938 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.2076, allocations: 183.4 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.2076, allocations: 88.98 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.2076, allocations: 4 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.2077, allocations: 7.984 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.2078, allocations: 11.98 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.2078, allocations: 0 / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.94e-05/0.2078, allocations: 79.28 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2078, allocations: 0 / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001963/0.208, allocations: 23.84 kB / 1.057 GB, free: 3.645 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004285/0.2085, allocations: 0.7086 MB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.2087, allocations: 67.83 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2087, allocations: 0 / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.834e-05/0.2088, allocations: 35.97 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.209, allocations: 0 / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.2102, allocations: 1.336 MB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.2103, allocations: 0.6807 MB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.849e-05/0.2104, allocations: 4 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.2104, allocations: 15.42 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2104, allocations: 4 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.438/4.649, allocations: 1.628 MB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/4.649, allocations: 208 kB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/6.13, allocations: 4 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches