Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_9_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.004361/0.004361, allocations: 96.62 kB / 15.73 MB, free: 6.043 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.001082/0.001083, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.33/2.33, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 70.06 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2308, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001535/0.2324, allocations: 0.5476 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005656/0.233, allocations: 311.4 kB / 1.088 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.233, allocations: 0 / 1.088 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.233, allocations: 7.875 kB / 1.088 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.323e-05/0.2331, allocations: 0 / 1.088 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.2335, allocations: 107.6 kB / 1.088 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.283e-05/0.2335, allocations: 4 kB / 1.088 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.2336, allocations: 7.984 kB / 1.088 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.768e-05/0.2336, allocations: 7.984 kB / 1.088 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.2336, allocations: 11.94 kB / 1.088 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.2337, allocations: 0 / 1.088 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.2339, allocations: 179.8 kB / 1.089 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.2339, allocations: 7.984 kB / 1.089 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.234, allocations: 4 kB / 1.089 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.2341, allocations: 80.02 kB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2341, allocations: 0 / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2341, allocations: 4 kB / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2342, allocations: 0 / 1.089 GB, free: 0.75 MB / 0.8419 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.0003001/0.2345, allocations: 339.3 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2345, allocations: 8.031 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.861e-05/0.2345, allocations: 34.69 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.2346, allocations: 8.891 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.336e-05/0.2347, allocations: 168.4 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.2347, allocations: 4.312 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.2347, allocations: 8.375 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.643e-05/0.2348, allocations: 34.27 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.2348, allocations: 3.938 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.2348, allocations: 0 / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2348, allocations: 0 / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.983e-05/0.2348, allocations: 4 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.235, allocations: 153.7 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.252e-05/0.235, allocations: 26.5 kB / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.2351, allocations: 12.86 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005448/0.2356, allocations: 0.5778 MB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.2356, allocations: 30.56 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.415e-06/0.2357, allocations: 4 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004172/0.2361, allocations: 262.2 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.2361, allocations: 51.41 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.635e-05/0.2362, allocations: 97.86 kB / 1.09 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.2362, allocations: 25.7 kB / 1.09 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.2362, allocations: 84.12 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.2363, allocations: 7.953 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.2363, allocations: 21.94 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.217e-05/0.2364, allocations: 310.8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/0.2364, allocations: 11.98 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.313e-05/0.2364, allocations: 13.95 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.36e-05/0.2365, allocations: 29.66 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.2365, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.64e-05/0.2366, allocations: 65.58 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2366, allocations: 7.938 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2366, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.2366, allocations: 96 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.851e-05/0.2367, allocations: 8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.2367, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.2367, allocations: 3.984 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.2367, allocations: 7.984 kB / 1.091 GB, free: 13.94 MB / 0.8575 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.892e-05/0.2368, allocations: 109.9 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.2368, allocations: 7.938 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.2369, allocations: 57.12 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2369, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.2369, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2369, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.882e-05/0.237, allocations: 157.6 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.237, allocations: 0 / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-05/0.2371, allocations: 11.98 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.2371, allocations: 3.938 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/0.2371, allocations: 7.938 kB / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.2371, allocations: 0 / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2371, allocations: 0 / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.2373, allocations: 77.16 kB / 1.091 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.2373, allocations: 85 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.2373, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.695e-05/0.2374, allocations: 3.984 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.2374, allocations: 7.938 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.2374, allocations: 4.062 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.185e-05/0.2374, allocations: 79.28 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2374, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002238/0.2377, allocations: 31.92 kB / 1.092 GB, free: 13.2 MB / 0.8575 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.0004093/0.2381, allocations: 0.6403 MB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.253e-05/0.2382, allocations: 19.94 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2382, allocations: 4 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.592e-05/0.2382, allocations: 7.984 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.2383, allocations: 4 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008369/0.2392, allocations: 1.136 MB / 1.093 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.2394, allocations: 0.6807 MB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.2394, allocations: 8.109 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.2395, allocations: 11.44 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2395, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.257, allocations: 2.106 MB / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.151/7.408, allocations: 11.62 kB / 1.096 GB, free: 8.578 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches