Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Abs,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.001578/0.001578, allocations: 108 kB / 15.6 MB, free: 132 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.001841/0.001841, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.418/2.418, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.89 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/0.5108, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001744/0.5126, allocations: 0.6612 MB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007737/0.5133, allocations: 0.843 MB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.018e-05/0.5134, allocations: 4 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.5134, allocations: 3.938 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.852e-05/0.5134, allocations: 3.938 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.18e-05/0.5135, allocations: 15.98 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.217e-05/0.5136, allocations: 19.92 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.327e-05/0.5137, allocations: 8 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.5137, allocations: 11.94 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.101e-05/0.5138, allocations: 7.984 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.5138, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/0.5138, allocations: 11.94 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.5138, allocations: 7.938 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.5138, allocations: 11.97 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.55e-05/0.5139, allocations: 19.91 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5139, allocations: 4 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5139, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.5139, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003671/0.5143, allocations: 337.7 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.5143, allocations: 8.031 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.5144, allocations: 38.75 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.953e-05/0.5144, allocations: 0.9375 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.486e-05/0.5145, allocations: 164.3 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.5145, allocations: 384 / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-06/0.5145, allocations: 4.375 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.5147, allocations: 54.17 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5147, allocations: 3.938 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.5147, allocations: 3.984 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5147, allocations: 0 / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.5149, allocations: 35.95 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/0.5152, allocations: 244.9 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.5153, allocations: 46.47 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.226e-05/0.5154, allocations: 28.91 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.5154, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.5155, allocations: 34.5 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.5155, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003253/0.5158, allocations: 77.64 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.5158, allocations: 51.53 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.819e-05/0.5159, allocations: 109.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.5159, allocations: 29.64 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.516, allocations: 80.14 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.516, allocations: 7.844 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.516, allocations: 17.72 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.5161, allocations: 310.8 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.081e-05/0.5162, allocations: 15.97 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.5163, allocations: 23.98 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.5164, allocations: 32.83 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5165, allocations: 7.938 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000184/0.5166, allocations: 61.66 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.5167, allocations: 12.09 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5167, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.5167, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.887e-05/0.5168, allocations: 11.92 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.5168, allocations: 7.938 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.5168, allocations: 7.984 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-06/0.5168, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.114e-05/0.5169, allocations: 118.4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.5169, allocations: 3.906 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.047e-05/0.517, allocations: 7.125 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.517, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.517, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.517, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.5171, allocations: 161.6 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5171, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.5172, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5172, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.5172, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5172, allocations: 3.984 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5172, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.5175, allocations: 163.4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.5175, allocations: 85.03 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.5175, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.5176, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.5176, allocations: 12.02 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.5176, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.5177, allocations: 83.28 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5177, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002046/0.5179, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004447/0.5183, allocations: 0.7006 MB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.5185, allocations: 39.89 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5185, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.914e-05/0.5186, allocations: 15.98 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.5189, allocations: 8.156 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.5192, allocations: 127.3 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.5195, allocations: 0.6768 MB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.5195, allocations: 4.328 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.5195, allocations: 11.44 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5195, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.5346, allocations: 1.235 MB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.708/7.242, allocations: 17.2 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches