Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_9_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.00098/0.00098, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001057/0.001057, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.218/1.218, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 71.81 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5241/0.5255, allocations: 140.3 MB / 0.9491 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001438/0.5269, allocations: 0.7593 MB / 0.9498 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005587/0.5275, allocations: 0.8329 MB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.925e-05/0.5275, allocations: 0 / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.5276, allocations: 5.219 kB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.479e-05/0.5276, allocations: 4 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.5277, allocations: 20.42 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.584e-05/0.5278, allocations: 50.7 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.75e-05/0.5279, allocations: 9.625 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.859e-05/0.5279, allocations: 14.83 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.741e-05/0.528, allocations: 30.91 kB / 0.9507 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.528, allocations: 2.781 kB / 0.9507 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.528, allocations: 7.688 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.5281, allocations: 17.53 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.5281, allocations: 10.81 kB / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.004e-05/0.5282, allocations: 43.53 kB / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5282, allocations: 0 / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5282, allocations: 5.281 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.5282, allocations: 0 / 0.9508 GB, free: 7.715 MB / 0.7169 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.0003427/0.5285, allocations: 350.4 kB / 0.9512 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.5286, allocations: 9.094 kB / 0.9512 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.057e-05/0.5286, allocations: 35.97 kB / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.5286, allocations: 7.344 kB / 0.9512 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.579e-05/0.5287, allocations: 166.8 kB / 0.9514 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.5287, allocations: 11.09 kB / 0.9514 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.5287, allocations: 1.594 kB / 0.9514 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.5289, allocations: 76.52 kB / 0.9514 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-06/0.5289, allocations: 3.938 kB / 0.9515 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.5289, allocations: 1.406 kB / 0.9515 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.5289, allocations: 0 / 0.9515 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.5291, allocations: 56.14 kB / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/0.5294, allocations: 284.7 kB / 0.9518 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.5296, allocations: 70.88 kB / 0.9518 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.576e-05/0.5297, allocations: 36.03 kB / 0.9519 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.5297, allocations: 0 / 0.9519 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.5297, allocations: 36.44 kB / 0.9519 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.5297, allocations: 0 / 0.9519 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003425/0.5301, allocations: 104.7 kB / 0.952 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.5301, allocations: 56.62 kB / 0.9521 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.542e-05/0.5302, allocations: 113.9 kB / 0.9522 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.5302, allocations: 25.7 kB / 0.9522 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.105e-05/0.5302, allocations: 86.5 kB / 0.9523 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.5302, allocations: 12.8 kB / 0.9523 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.5303, allocations: 22.36 kB / 0.9523 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.312e-05/0.5303, allocations: 316.1 kB / 0.9526 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.385e-05/0.5304, allocations: 28.22 kB / 0.9526 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.338e-05/0.5305, allocations: 29.94 kB / 0.9527 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.5307, allocations: 50.47 kB / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5307, allocations: 0 / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002051/0.5309, allocations: 90.14 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.5309, allocations: 10.97 kB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.5309, allocations: 4 kB / 0.9528 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.5309, allocations: 0 / 0.9528 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.531, allocations: 17.05 kB / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.531, allocations: 1.281 kB / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.459e-05/0.5311, allocations: 7.234 kB / 0.9528 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.5311, allocations: 1.625 kB / 0.9528 GB, free: 5.715 MB / 0.7169 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 4.28e-05/0.5312, allocations: 116.4 kB / 0.953 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.5312, allocations: 1.719 kB / 0.953 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/0.5312, allocations: 17.3 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.5312, allocations: 0 / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.5312, allocations: 0 / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.5312, allocations: 1.531 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.5313, allocations: 170.5 kB / 0.9531 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5314, allocations: 1.844 kB / 0.9531 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.714e-05/0.5314, allocations: 15.38 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5315, allocations: 1.219 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.5315, allocations: 256 / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5315, allocations: 5.25 kB / 0.9532 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.5315, allocations: 7.938 kB / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.5317, allocations: 188.7 kB / 0.9534 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.5317, allocations: 82.2 kB / 0.9534 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.5317, allocations: 1.406 kB / 0.9534 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.5318, allocations: 7.672 kB / 0.9534 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.5319, allocations: 11.77 kB / 0.9535 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.5319, allocations: 5.094 kB / 0.9535 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.208e-05/0.5319, allocations: 80.25 kB / 0.9535 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5319, allocations: 0 / 0.9535 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002101/0.5321, allocations: 14.97 kB / 0.9535 GB, free: 4.984 MB / 0.7169 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.000359/0.5325, allocations: 0.7242 MB / 0.9543 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.5327, allocations: 59 kB / 0.9543 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.5327, allocations: 1.406 kB / 0.9543 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.5328, allocations: 29.62 kB / 0.9543 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.5331, allocations: 7.812 kB / 0.9543 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.5342, allocations: 1.326 MB / 0.9556 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.255e-05/0.5342, allocations: 0.6801 MB / 0.9563 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.248e-05/0.5343, allocations: 8.156 kB / 0.9563 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.5343, allocations: 22.05 kB / 0.9563 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.5343, allocations: 0 / 0.9563 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7455/1.28, allocations: 1.562 MB / 0.9579 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/1.28, allocations: 204.4 kB / 0.9581 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/3.221, allocations: 0 / 0.9581 GB, free: 1.184 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches