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.00414/0.00414, allocations: 98.52 kB / 15.73 MB, free: 6.004 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.001058/0.001058, allocations: 191 kB / 16.67 MB, free: 5.934 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.498/2.498, allocations: 437 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2477, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001513/0.2493, allocations: 0.5442 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007107/0.25, allocations: 327.3 kB / 1.167 GB, free: 6.477 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.2501, allocations: 0 / 1.167 GB, free: 6.477 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.2501, allocations: 0 / 1.167 GB, free: 6.477 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.121e-05/0.2501, allocations: 0 / 1.167 GB, free: 6.477 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.2506, allocations: 103.7 kB / 1.167 GB, free: 6.375 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.494e-05/0.2507, allocations: 8 kB / 1.167 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.2507, allocations: 7.984 kB / 1.167 GB, free: 6.359 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.066e-05/0.2508, allocations: 3.938 kB / 1.167 GB, free: 6.355 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.2508, allocations: 4 kB / 1.167 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2509, allocations: 0 / 1.167 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.2512, allocations: 187.8 kB / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.2512, allocations: 7.984 kB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.2512, allocations: 3.938 kB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.2514, allocations: 76.08 kB / 1.167 GB, free: 6.082 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2514, allocations: 4 kB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2514, allocations: 7.938 kB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.2515, allocations: 0 / 1.167 GB, free: 6.07 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.0003988/0.2519, allocations: 343.2 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.2519, allocations: 12.03 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.252, allocations: 34.75 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.252, allocations: 4.938 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.2521, allocations: 168.4 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.2521, allocations: 384 / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.2522, allocations: 4.328 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.2523, allocations: 34.27 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2523, allocations: 3.938 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.2523, allocations: 0 / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2523, allocations: 3.984 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.711e-05/0.2524, allocations: 15.88 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.2525, allocations: 149.7 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.2526, allocations: 26.59 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.2526, allocations: 12.92 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005622/0.2532, allocations: 0.5739 MB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.2532, allocations: 34.56 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.604e-06/0.2532, allocations: 4 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004422/0.2537, allocations: 250.3 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.2537, allocations: 51.41 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.751e-05/0.2538, allocations: 97.86 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.2538, allocations: 29.7 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.2538, allocations: 84.12 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.2539, allocations: 11.91 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.2539, allocations: 21.88 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/0.254, allocations: 314.8 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.254, allocations: 7.984 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.382e-05/0.2541, allocations: 17.72 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.086e-05/0.2541, allocations: 25.72 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2541, allocations: 0 / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.976e-05/0.2542, allocations: 61.56 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2542, allocations: 7.938 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2542, allocations: 4 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2542, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.609e-05/0.2543, allocations: 4 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2543, allocations: 3.984 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.2543, allocations: 4 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.2543, allocations: 3.984 kB / 1.17 GB, free: 3.262 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 6.155e-05/0.2544, allocations: 118.6 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.2544, allocations: 7.891 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.2545, allocations: 53.12 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2545, allocations: 0 / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2545, allocations: 0 / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2546, allocations: 4 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.46e-05/0.2547, allocations: 157.7 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2547, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/0.2547, allocations: 7.984 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2547, allocations: 3.938 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.2547, allocations: 4 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2547, allocations: 0 / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2547, allocations: 4 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.2549, allocations: 81.44 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.2549, allocations: 81.05 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.2549, allocations: 3.984 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.255, allocations: 12 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.255, allocations: 4.062 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.255, allocations: 0 / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.356e-05/0.255, allocations: 83.28 kB / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.255, allocations: 0 / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002191/0.2553, allocations: 31.92 kB / 1.17 GB, free: 2.512 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.0004023/0.2557, allocations: 0.6436 MB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.853e-05/0.2558, allocations: 16 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2558, allocations: 0 / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.2558, allocations: 7.984 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.2559, allocations: 11.94 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008165/0.2568, allocations: 1.143 MB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.257, allocations: 0.6768 MB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.759e-05/0.257, allocations: 8 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.257, allocations: 7.438 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.257, allocations: 4 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.2747, allocations: 2.091 MB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.396/7.67, allocations: 15.95 kB / 1.175 GB, free: 13.89 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