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.007412/0.007412, allocations: 102 kB / 15.73 MB, free: 6.453 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.001917/0.001917, allocations: 195.7 kB / 16.67 MB, free: 6.352 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.669/2.669, allocations: 437 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 63.89 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2741, allocations: 151.6 MB / 1.166 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001524/0.2756, allocations: 0.5367 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005885/0.2762, allocations: 319.3 kB / 1.167 GB, free: 6.496 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.2763, allocations: 4 kB / 1.167 GB, free: 6.492 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.115e-05/0.2763, allocations: 0 / 1.167 GB, free: 6.492 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.405e-05/0.2763, allocations: 3.938 kB / 1.167 GB, free: 6.488 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.2767, allocations: 99.75 kB / 1.167 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.708e-05/0.2768, allocations: 15.92 kB / 1.167 GB, free: 6.375 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.411e-05/0.2768, allocations: 0 / 1.167 GB, free: 6.375 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.144e-05/0.2768, allocations: 11.92 kB / 1.167 GB, free: 6.363 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.2769, allocations: 7.984 kB / 1.167 GB, free: 6.355 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.2769, allocations: 4 kB / 1.167 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002971/0.2772, allocations: 179.8 kB / 1.167 GB, free: 6.176 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.298e-06/0.2772, allocations: 0 / 1.167 GB, free: 6.176 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.2772, allocations: 11.94 kB / 1.167 GB, free: 6.164 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.2774, allocations: 80.06 kB / 1.167 GB, free: 6.086 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2774, allocations: 0 / 1.167 GB, free: 6.086 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.001e-06/0.2774, allocations: 4 kB / 1.167 GB, free: 6.082 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2774, allocations: 0 / 1.167 GB, free: 6.082 MB / 0.92 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.000384/0.2778, allocations: 347.3 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2779, allocations: 11.97 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.2779, allocations: 30.75 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.2779, allocations: 4.938 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.2781, allocations: 160.4 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.2781, allocations: 384 / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.2781, allocations: 8.328 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.168e-05/0.2782, allocations: 46.19 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2782, allocations: 3.938 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.2782, allocations: 3.938 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.2782, allocations: 0 / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.74e-05/0.2783, allocations: 0 / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.2784, allocations: 157.7 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.256e-05/0.2785, allocations: 22.61 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.2785, allocations: 12.86 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006429/0.2792, allocations: 0.574 MB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.2792, allocations: 34.5 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2792, allocations: 4 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004778/0.2797, allocations: 258.3 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.2797, allocations: 55.39 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.176e-05/0.2798, allocations: 97.86 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.2799, allocations: 25.7 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.2799, allocations: 80.14 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.2799, allocations: 7.906 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.28, allocations: 25.92 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2801, allocations: 314.8 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.2801, allocations: 8 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.798e-05/0.2802, allocations: 17.7 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.979e-05/0.2802, allocations: 25.66 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2802, allocations: 0 / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.807e-05/0.2803, allocations: 53.7 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2804, allocations: 19.86 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2804, allocations: 0 / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2804, allocations: 0 / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.165e-05/0.2804, allocations: 11.94 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.2805, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.464e-05/0.2805, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.2805, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 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 7.775e-05/0.2806, allocations: 113.9 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.2806, allocations: 7.891 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.2807, allocations: 61.5 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2807, allocations: 0 / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2807, allocations: 48 / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.2807, allocations: 3.984 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.2809, allocations: 153.7 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2809, allocations: 0 / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.2809, allocations: 7.938 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.2809, allocations: 3.938 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.2809, allocations: 8 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2809, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2809, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.2811, allocations: 81.05 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.2811, allocations: 85.08 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.2812, allocations: 0 / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.201e-05/0.2812, allocations: 0 / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.2812, allocations: 0 / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.2812, allocations: 12.06 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.275e-05/0.2813, allocations: 79.27 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2813, allocations: 0 / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002194/0.2815, allocations: 31.94 kB / 1.17 GB, free: 2.535 MB / 0.92 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.0005024/0.282, allocations: 0.6435 MB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.079e-05/0.2821, allocations: 27.98 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2821, allocations: 0 / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.2821, allocations: 8 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.2823, allocations: 0 / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.2833, allocations: 1.147 MB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.2836, allocations: 0.6807 MB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.084e-05/0.2836, allocations: 8.062 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.2837, allocations: 11.44 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.2837, allocations: 0 / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.3074, allocations: 2.098 MB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.095, allocations: 5.828 kB / 1.175 GB, free: 13.91 MB / 0.9356 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