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.001266/0.001266, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001292/0.001292, allocations: 193.4 kB / 16.25 MB, free: 6.633 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.18/1.18, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.177/2.177, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.89 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4581/0.4593, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001393/0.4607, allocations: 0.6091 MB / 1.018 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004918/0.4612, allocations: 319 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.404e-05/0.4612, allocations: 0 / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.4612, allocations: 0 / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.16e-05/0.4613, allocations: 3.938 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.4616, allocations: 91.77 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.358e-05/0.4616, allocations: 19.94 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 2.877e-05/0.4617, allocations: 0 / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.447e-05/0.4617, allocations: 4 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.389e-05/0.4617, allocations: 7.984 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.4617, allocations: 0 / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.462, allocations: 187.8 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.462, allocations: 3.938 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.571e-05/0.462, allocations: 8 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.4622, allocations: 83.78 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.4622, allocations: 0 / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4622, allocations: 4 kB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.4622, allocations: 0 / 1.018 GB, free: 1.371 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.0002852/0.4625, allocations: 341.7 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.4625, allocations: 8.031 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.4625, allocations: 30.75 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.127e-05/0.4626, allocations: 0.9375 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.708e-05/0.4627, allocations: 168.3 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.4627, allocations: 384 / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.4627, allocations: 4.359 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.951e-05/0.4628, allocations: 42.2 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.4628, allocations: 3.938 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.4628, allocations: 4 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.4628, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.668e-05/0.4628, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.463, allocations: 157.6 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.871e-05/0.463, allocations: 22.55 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.463, allocations: 20.91 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005295/0.4636, allocations: 0.5739 MB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.4636, allocations: 30.56 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.4636, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003913/0.464, allocations: 266.2 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.464, allocations: 55.41 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.793e-05/0.4641, allocations: 93.86 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.4641, allocations: 29.7 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.4641, allocations: 84.12 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.4642, allocations: 11.8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.4642, allocations: 21.94 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.591e-05/0.4643, allocations: 310.8 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.4643, allocations: 12 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/0.4644, allocations: 21.7 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.076e-05/0.4644, allocations: 29.66 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4644, allocations: 0 / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.86e-05/0.4645, allocations: 57.62 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.4645, allocations: 7.938 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.4645, allocations: 4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.126e-06/0.4645, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.966e-05/0.4646, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4646, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.4646, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.4646, allocations: 0 / 1.021 GB, free: 14.57 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 5.64e-05/0.4647, allocations: 113.9 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.4647, allocations: 7.938 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.598e-05/0.4648, allocations: 57.12 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4648, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.4648, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.4648, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.794e-05/0.4649, allocations: 149.7 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4649, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.465, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.465, allocations: 3.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.465, allocations: 11.98 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.465, allocations: 7.938 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.465, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.4651, allocations: 73.03 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.4651, allocations: 81.05 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.4652, allocations: 11.97 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.29e-05/0.4652, allocations: 3.938 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.4652, allocations: 3.984 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.4652, allocations: 8.062 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.4653, allocations: 75.7 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4653, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001945/0.4655, allocations: 28 kB / 1.021 GB, free: 13.83 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.0003798/0.4658, allocations: 0.6477 MB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.545e-05/0.4659, allocations: 24 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4659, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.488e-05/0.4659, allocations: 8 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.4661, allocations: 10.55 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00075/0.4668, allocations: 1.143 MB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.467, allocations: 0.6768 MB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.216e-05/0.4671, allocations: 8 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.4671, allocations: 11.44 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.4671, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.761/2.228, allocations: 1.998 MB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/2.229, allocations: 229.1 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/4.229, allocations: 6.75 kB / 1.026 GB, free: 9.074 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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