Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",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.001677/0.001677, 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.001948/0.001948, allocations: 194.3 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.553/2.553, allocations: 437.1 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.89 kB / 0.8693 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5593/0.5607, allocations: 151.6 MB / 1.017 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001779/0.5625, allocations: 0.5444 MB / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006097/0.5631, allocations: 326.9 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.5632, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.5632, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.435e-05/0.5632, allocations: 3.938 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.5637, allocations: 103.7 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.604e-05/0.5637, allocations: 15.88 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.5638, allocations: 0 / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.202e-05/0.5638, allocations: 7.984 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/0.5639, allocations: 0 / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.5639, allocations: 4 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003007/0.5642, allocations: 187.8 kB / 1.019 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.5642, allocations: 7.938 kB / 1.019 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.5642, allocations: 7.984 kB / 1.019 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.5644, allocations: 83.8 kB / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5644, allocations: 0 / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5644, allocations: 0 / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.5644, allocations: 0 / 1.019 GB, free: 1.289 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000344/0.5648, allocations: 337.7 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.5648, allocations: 8.031 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.5649, allocations: 34.75 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.5649, allocations: 8.875 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.565, allocations: 168.4 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.565, allocations: 384 / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.565, allocations: 4.375 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.507e-05/0.5651, allocations: 34.2 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.5651, allocations: 3.938 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.5652, allocations: 7.984 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.5652, allocations: 0 / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.5652, allocations: 7.984 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.5653, allocations: 153.6 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.254e-05/0.5654, allocations: 26.56 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.5654, allocations: 4.859 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005679/0.566, allocations: 0.5779 MB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.566, allocations: 38.5 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.404e-06/0.566, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004695/0.5665, allocations: 258.2 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.5665, allocations: 55.41 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.252e-05/0.5666, allocations: 93.86 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.5666, allocations: 25.92 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.5667, allocations: 92.11 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.5667, allocations: 15.81 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.5667, allocations: 13.72 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5668, allocations: 314.8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.5669, allocations: 7.984 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/0.5669, allocations: 17.72 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.567, allocations: 29.66 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.567, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.307e-05/0.5671, allocations: 57.69 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.5671, allocations: 7.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5671, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5671, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.5672, allocations: 11.94 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.5672, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.5672, allocations: 4.062 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.5672, allocations: 7.984 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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.46e-05/0.5673, allocations: 109.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.5673, allocations: 3.938 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.5674, allocations: 53.19 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5674, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5674, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5674, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.76e-05/0.5675, allocations: 153.7 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5675, allocations: 7.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/0.5676, allocations: 11.92 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.5676, allocations: 7.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.5676, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5676, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5676, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.5678, allocations: 77.45 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.5678, allocations: 93 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.5678, allocations: 4.062 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.633e-05/0.5679, allocations: 3.984 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.5679, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.5679, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.129e-05/0.5679, allocations: 79.28 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5679, allocations: 4 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002236/0.5682, allocations: 27.98 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0004072/0.5686, allocations: 0.6397 MB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.67e-05/0.5687, allocations: 19.94 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5687, allocations: 4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.617e-05/0.5687, allocations: 7.984 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.5688, allocations: 4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008708/0.5697, allocations: 1.147 MB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.57, allocations: 0.6768 MB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.672e-05/0.57, allocations: 4 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.57, allocations: 7.438 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.57, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.5881, allocations: 2.074 MB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/7.769, allocations: 16.02 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_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_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches