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.001205/0.001205, allocations: 108 kB / 15.61 MB, free: 152 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.001432/0.001432, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.486/2.486, allocations: 461.9 MB / 0.7346 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 71.2 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.241, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001618/0.2427, allocations: 0.6994 MB / 1.054 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007308/0.2434, allocations: 0.8351 MB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.2434, allocations: 4 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.2435, allocations: 7.875 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.341e-05/0.2435, allocations: 7.938 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.335e-05/0.2436, allocations: 27.89 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.65e-05/0.2437, allocations: 43.92 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.925e-05/0.2438, allocations: 11.98 kB / 1.055 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.2438, allocations: 23.86 kB / 1.055 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.2439, allocations: 27.91 kB / 1.055 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.2439, allocations: 4 kB / 1.055 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.2439, allocations: 8 kB / 1.055 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.2439, allocations: 7.984 kB / 1.055 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.244, allocations: 27.86 kB / 1.055 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.12e-05/0.244, allocations: 39.86 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.244, allocations: 3.984 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.22e-07/0.244, allocations: 0 / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.244, allocations: 0 / 1.055 GB, free: 6.457 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.0003517/0.2444, allocations: 353.6 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.52e-05/0.2444, allocations: 8.625 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.276e-05/0.2445, allocations: 34.75 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.983e-05/0.2445, allocations: 8.922 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.331e-05/0.2446, allocations: 168.3 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2446, allocations: 4.375 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.2446, allocations: 8.312 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.2448, allocations: 65.59 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.2448, allocations: 4 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.2448, allocations: 4 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2448, allocations: 0 / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.245, allocations: 59.94 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.2453, allocations: 288.8 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.2455, allocations: 62.48 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.2456, allocations: 40.91 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.2457, allocations: 3.984 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.2457, allocations: 30.56 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2457, allocations: 0 / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003712/0.2461, allocations: 117.5 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.2461, allocations: 59.39 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.582e-05/0.2462, allocations: 101.9 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.2462, allocations: 25.7 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.2462, allocations: 88.12 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.2462, allocations: 11.81 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.2463, allocations: 21.66 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.574e-05/0.2464, allocations: 318.8 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.904e-05/0.2465, allocations: 27.98 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.968e-05/0.2466, allocations: 31.91 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.2467, allocations: 48.81 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2468, allocations: 0 / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002249/0.247, allocations: 89.58 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.247, allocations: 4 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.247, allocations: 8 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.247, allocations: 0 / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.2471, allocations: 11.98 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.2471, allocations: 0 / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.339e-05/0.2472, allocations: 7.984 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.2472, allocations: 0 / 1.057 GB, free: 4.152 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 6.081e-05/0.2473, allocations: 117.8 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.2473, allocations: 3.906 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.2473, allocations: 15.91 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.2474, allocations: 0 / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2474, allocations: 0 / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-06/0.2474, allocations: 0 / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.2475, allocations: 177.6 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2475, allocations: 0 / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-05/0.2476, allocations: 11.98 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2476, allocations: 0 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.2476, allocations: 0 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2476, allocations: 256 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2476, allocations: 3.938 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.2479, allocations: 195.4 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.2479, allocations: 85.03 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.248, allocations: 0 / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-05/0.248, allocations: 4 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.2481, allocations: 12.36 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.2481, allocations: 0 / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.2482, allocations: 95.27 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2482, allocations: 0 / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002069/0.2484, allocations: 11.84 kB / 1.057 GB, free: 3.336 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.000467/0.2488, allocations: 0.7241 MB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.2491, allocations: 55.94 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.2491, allocations: 0 / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.2492, allocations: 39.91 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.2494, allocations: 4 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.2507, allocations: 1.315 MB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.2509, allocations: 0.6807 MB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.044e-05/0.2509, allocations: 11.98 kB / 1.06 GB, free: 384 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.251, allocations: 15.44 kB / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.251, allocations: 0 / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.624/1.875, allocations: 1.784 MB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.658/11.53, allocations: 21.23 kB / 1.062 GB, free: 14.63 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