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: translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 112.3 kB / 15.99 MB, free: 6.359 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.001258/0.001258, allocations: 193.7 kB / 16.91 MB, free: 6.195 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.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.262/2.262, allocations: 390.3 MB / 0.665 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 65.06 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2869, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001793/0.2887, allocations: 0.6028 MB / 0.9504 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000607/0.2894, allocations: 329.1 kB / 0.9507 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.013e-05/0.2894, allocations: 4 kB / 0.9507 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.2894, allocations: 0 / 0.9507 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.73e-05/0.2895, allocations: 3.938 kB / 0.9507 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.2899, allocations: 87.84 kB / 0.9508 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.419e-05/0.29, allocations: 4 kB / 0.9508 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.29, allocations: 3.984 kB / 0.9508 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.024e-05/0.29, allocations: 19.92 kB / 0.9508 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.999e-05/0.2901, allocations: 0 / 0.9508 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.2901, allocations: 4 kB / 0.9508 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.2904, allocations: 183.8 kB / 0.951 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.2904, allocations: 4 kB / 0.951 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.2904, allocations: 11.92 kB / 0.951 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.2905, allocations: 43.92 kB / 0.951 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2905, allocations: 4 kB / 0.951 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2906, allocations: 0 / 0.951 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2906, allocations: 0 / 0.951 GB, free: 7.961 MB / 0.7325 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.0003131/0.2909, allocations: 343.7 kB / 0.9514 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2909, allocations: 12.03 kB / 0.9514 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.291, allocations: 0.9375 kB / 0.9514 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2911, allocations: 164.4 kB / 0.9515 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.2911, allocations: 384 / 0.9515 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.2911, allocations: 4.375 kB / 0.9515 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.435e-05/0.2912, allocations: 38.2 kB / 0.9516 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2912, allocations: 192 / 0.9516 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2913, allocations: 7.875 kB / 0.9516 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2913, allocations: 4 kB / 0.9516 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.353e-05/0.2913, allocations: 7.984 kB / 0.9516 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.2915, allocations: 153.6 kB / 0.9517 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.762e-05/0.2915, allocations: 26.53 kB / 0.9518 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.2915, allocations: 12.91 kB / 0.9518 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006061/0.2922, allocations: 0.5856 MB / 0.9523 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.2922, allocations: 30.56 kB / 0.9524 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.2922, allocations: 4 kB / 0.9524 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004819/0.2927, allocations: 250.6 kB / 0.9526 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.2927, allocations: 55.41 kB / 0.9527 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.55e-05/0.2928, allocations: 97.84 kB / 0.9528 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.2928, allocations: 25.7 kB / 0.9528 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.2929, allocations: 84.14 kB / 0.9529 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.2929, allocations: 11.81 kB / 0.9529 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.293, allocations: 17.72 kB / 0.9529 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2931, allocations: 314.8 kB / 0.9532 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.2931, allocations: 8 kB / 0.9532 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.867e-05/0.2931, allocations: 17.72 kB / 0.9532 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.973e-05/0.2932, allocations: 29.66 kB / 0.9532 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2932, allocations: 0 / 0.9532 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.094e-05/0.2933, allocations: 49.69 kB / 0.9533 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2933, allocations: 7.938 kB / 0.9533 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2933, allocations: 4.062 kB / 0.9533 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2934, allocations: 0 / 0.9533 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-05/0.2934, allocations: 15.94 kB / 0.9533 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2934, allocations: 3.984 kB / 0.9533 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.47e-05/0.2934, allocations: 0 / 0.9533 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.2935, allocations: 4 kB / 0.9533 GB, free: 5.195 MB / 0.7325 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.444e-05/0.2935, allocations: 109.8 kB / 0.9534 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.2936, allocations: 11.88 kB / 0.9534 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.2937, allocations: 53.19 kB / 0.9535 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.2937, allocations: 0 / 0.9535 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2937, allocations: 0 / 0.9535 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2937, allocations: 0 / 0.9535 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.2938, allocations: 157.6 kB / 0.9536 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.2939, allocations: 7.984 kB / 0.9536 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.737e-05/0.2939, allocations: 4 kB / 0.9537 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.2939, allocations: 3.938 kB / 0.9537 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.2939, allocations: 0 / 0.9537 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2939, allocations: 0 / 0.9537 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2939, allocations: 0 / 0.9537 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.2941, allocations: 85.03 kB / 0.9537 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.2941, allocations: 77.11 kB / 0.9538 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.2942, allocations: 7.922 kB / 0.9538 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.2942, allocations: 0 / 0.9538 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.2942, allocations: 12.39 kB / 0.9538 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.2942, allocations: 0 / 0.9538 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.048e-05/0.2943, allocations: 83.27 kB / 0.9539 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.823e-06/0.2943, allocations: 0 / 0.9539 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002292/0.2945, allocations: 39.92 kB / 0.9539 GB, free: 4.449 MB / 0.7325 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.0002032/0.2947, allocations: 127.2 kB / 0.9541 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.893e-05/0.2948, allocations: 15.98 kB / 0.9541 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2948, allocations: 0 / 0.9541 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.067e-05/0.2949, allocations: 15.94 kB / 0.9541 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.295, allocations: 1.5 kB / 0.9541 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.2953, allocations: 151.7 kB / 0.9542 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.2955, allocations: 0.6766 MB / 0.9549 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.812e-05/0.2955, allocations: 7.438 kB / 0.9549 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.2955, allocations: 0 / 0.9549 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of Templates: time 0.00256/0.2981, allocations: 0.8345 MB / 0.9557 GB, free: 2.562 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (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 & ./Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat","/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