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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.01317/0.01317, allocations: 110.3 kB / 15.74 MB, free: 6.449 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.001763/0.001763, allocations: 196 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.403/2.403, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.453/3.453, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.8 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.508/0.51, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.003349/0.5134, allocations: 0.6934 MB / 1.088 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.5154, allocations: 0.8432 MB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.78e-05/0.5155, allocations: 0 / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.949e-05/0.5156, allocations: 7.922 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.5158, allocations: 3.938 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.516, allocations: 19.98 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.5162, allocations: 51.83 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.5164, allocations: 19.98 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.5165, allocations: 12 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.5166, allocations: 27.84 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.5167, allocations: 4 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.968e-05/0.5167, allocations: 8 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.5168, allocations: 11.97 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.583e-05/0.5168, allocations: 15.94 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.517, allocations: 47.8 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.517, allocations: 0 / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.346e-06/0.517, allocations: 0 / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.517, allocations: 3.938 kB / 1.089 GB, free: 208 kB / 0.8419 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.0007874/0.5178, allocations: 358.2 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.5179, allocations: 12.03 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.462e-05/0.518, allocations: 30.75 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.518, allocations: 4.938 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.5182, allocations: 173.1 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.5183, allocations: 8.375 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.5183, allocations: 4.125 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.5186, allocations: 69.66 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5187, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.5187, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5187, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.519, allocations: 55.89 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006298/0.5197, allocations: 284.8 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.52, allocations: 66.55 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.5202, allocations: 36.91 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.5203, allocations: 3.984 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.5203, allocations: 34.5 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.5203, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0006894/0.521, allocations: 113.5 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.5211, allocations: 51.41 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.5213, allocations: 109.8 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.5213, allocations: 25.7 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/0.5214, allocations: 92.08 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.5214, allocations: 15.86 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.5215, allocations: 17.72 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002169/0.5217, allocations: 322.8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.5219, allocations: 27.97 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.5221, allocations: 27.91 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/0.5224, allocations: 52.81 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5225, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003992/0.5229, allocations: 85.66 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.5229, allocations: 6.031 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.5229, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/0.523, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.5232, allocations: 15.98 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.5232, allocations: 7.969 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.5233, allocations: 4.25 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.5234, allocations: 3.938 kB / 1.091 GB, free: 13.9 MB / 0.8575 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 0.000158/0.5235, allocations: 125.8 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.5236, allocations: 3.906 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.5237, allocations: 11.91 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.5237, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5237, allocations: 4 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5237, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.524, allocations: 177.5 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.524, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.5242, allocations: 11.98 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5242, allocations: 4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.5242, allocations: 4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5242, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5243, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.5248, allocations: 183.4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.5248, allocations: 88.95 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.5249, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.5251, allocations: 11.98 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/0.5252, allocations: 16.3 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.5252, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.627e-05/0.5253, allocations: 91.2 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5253, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004315/0.5257, allocations: 8 kB / 1.092 GB, free: 13.07 MB / 0.8575 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.001021/0.5268, allocations: 0.7202 MB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004961/0.5273, allocations: 55.89 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.5273, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.5275, allocations: 35.97 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/0.5282, allocations: 7.984 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.5311, allocations: 1.321 MB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.5317, allocations: 0.6845 MB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.452e-05/0.5318, allocations: 11.98 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.5319, allocations: 15.44 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of SimCode: time 6.41e-07/0.5319, allocations: 0 / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.555, allocations: 1.808 MB / 1.096 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.33, allocations: 13.94 kB / 1.097 GB, free: 8.363 MB / 0.8575 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