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.001442/0.001442, allocations: 108 kB / 15.61 MB, free: 148 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.00187/0.00187, allocations: 194.4 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.457/1.457, allocations: 222.9 MB / 240.2 MB, free: 4.375 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 2.518/2.518, allocations: 390.3 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8152/0.8167, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002166/0.8189, allocations: 0.6893 MB / 0.9504 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009268/0.8199, allocations: 0.837 MB / 0.9512 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.457e-05/0.8199, allocations: 4 kB / 0.9512 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.82, allocations: 7.922 kB / 0.9512 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.368e-05/0.82, allocations: 1.375 kB / 0.9512 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.8202, allocations: 28.44 kB / 0.9513 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.527e-05/0.8203, allocations: 46.91 kB / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.8204, allocations: 9.406 kB / 0.9513 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.143e-05/0.8205, allocations: 22.8 kB / 0.9513 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.759e-05/0.8205, allocations: 30.77 kB / 0.9514 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.8206, allocations: 5.5 kB / 0.9514 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/0.8206, allocations: 4.125 kB / 0.9514 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.8206, allocations: 17.3 kB / 0.9514 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.8207, allocations: 12.06 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.572e-05/0.8207, allocations: 46.72 kB / 0.9515 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8208, allocations: 1.375 kB / 0.9515 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8208, allocations: 0 / 0.9515 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.8208, allocations: 0 / 0.9515 GB, free: 7.816 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.0004577/0.8212, allocations: 351 kB / 0.9518 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.8213, allocations: 10 kB / 0.9518 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.8213, allocations: 35.88 kB / 0.9518 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.8214, allocations: 7.188 kB / 0.9518 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.8215, allocations: 178.3 kB / 0.952 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.8215, allocations: 2.562 kB / 0.952 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.8215, allocations: 6.547 kB / 0.952 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.8217, allocations: 72.09 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.8217, allocations: 0 / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.8217, allocations: 4 kB / 0.9521 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.8218, allocations: 1.25 kB / 0.9521 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.822, allocations: 47.7 kB / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.8224, allocations: 293.5 kB / 0.9524 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.8226, allocations: 73.19 kB / 0.9525 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.8227, allocations: 31.94 kB / 0.9525 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.8227, allocations: 0 / 0.9525 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.8227, allocations: 32.12 kB / 0.9525 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.8227, allocations: 0 / 0.9525 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004435/0.8232, allocations: 113 kB / 0.9527 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.8232, allocations: 52.94 kB / 0.9527 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.147e-05/0.8233, allocations: 113.2 kB / 0.9528 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.8233, allocations: 25.7 kB / 0.9528 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.8234, allocations: 81.89 kB / 0.9529 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.8234, allocations: 14.03 kB / 0.9529 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.8234, allocations: 21.98 kB / 0.9529 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.011e-05/0.8235, allocations: 324 kB / 0.9533 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.8236, allocations: 24.25 kB / 0.9533 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.8238, allocations: 25.09 kB / 0.9533 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.824, allocations: 52.02 kB / 0.9534 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.824, allocations: 0 / 0.9534 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002427/0.8242, allocations: 96.55 kB / 0.9534 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.8242, allocations: 7.406 kB / 0.9535 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.8242, allocations: 0 / 0.9535 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.8243, allocations: 1.562 kB / 0.9535 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.8244, allocations: 12.95 kB / 0.9535 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.8244, allocations: 0 / 0.9535 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.936e-05/0.8245, allocations: 12.14 kB / 0.9535 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.8245, allocations: 5.375 kB / 0.9535 GB, free: 5.812 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 6.83e-05/0.8246, allocations: 120.6 kB / 0.9536 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.8246, allocations: 1.469 kB / 0.9536 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.8246, allocations: 13.34 kB / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8246, allocations: 0 / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.8246, allocations: 0 / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.8247, allocations: 1.25 kB / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.8248, allocations: 178.7 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8248, allocations: 1.688 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.301e-05/0.8249, allocations: 15.67 kB / 0.9538 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.8249, allocations: 1.219 kB / 0.9538 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.8249, allocations: 4 kB / 0.9538 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.8249, allocations: 1.75 kB / 0.9538 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8249, allocations: 0 / 0.9538 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.8252, allocations: 183.7 kB / 0.954 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.8252, allocations: 78.42 kB / 0.9541 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.8253, allocations: 1.281 kB / 0.9541 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.631e-05/0.8254, allocations: 15.08 kB / 0.9541 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.8254, allocations: 8.172 kB / 0.9541 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.8254, allocations: 1.688 kB / 0.9541 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.082e-05/0.8255, allocations: 84 kB / 0.9542 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8255, allocations: 0 / 0.9542 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002223/0.8257, allocations: 10.88 kB / 0.9542 GB, free: 5.09 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.0004733/0.8262, allocations: 0.7245 MB / 0.9549 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002715/0.8265, allocations: 59.55 kB / 0.9549 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8265, allocations: 0 / 0.9549 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.8266, allocations: 34.25 kB / 0.955 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.8269, allocations: 14.84 kB / 0.955 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.8282, allocations: 1.313 MB / 0.9563 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.8284, allocations: 0.6834 MB / 0.9569 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.461e-05/0.8284, allocations: 7.594 kB / 0.9569 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.8285, allocations: 19.05 kB / 0.957 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8285, allocations: 0 / 0.957 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.8482, allocations: 1.786 MB / 0.9587 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.517/8.365, allocations: 3.922 kB / 0.9587 GB, free: 1.367 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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