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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001376/0.001376, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001428/0.001428, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.81 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3325, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.00253/0.3351, allocations: 0.5453 MB / 0.9516 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008061/0.3359, allocations: 317.1 kB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.336, allocations: 3.938 kB / 0.952 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.336, allocations: 0 / 0.952 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.164e-05/0.3361, allocations: 7.938 kB / 0.952 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005159/0.3366, allocations: 99.75 kB / 0.9521 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.461e-05/0.3367, allocations: 8 kB / 0.9521 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.3368, allocations: 3.984 kB / 0.9521 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.443e-05/0.3368, allocations: 11.94 kB / 0.9521 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.3369, allocations: 7.922 kB / 0.9521 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.3369, allocations: 4 kB / 0.9521 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.3372, allocations: 183.8 kB / 0.9523 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.3373, allocations: 7.984 kB / 0.9523 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.3373, allocations: 4 kB / 0.9523 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.3375, allocations: 79.8 kB / 0.9524 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3375, allocations: 0 / 0.9524 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3375, allocations: 0 / 0.9524 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3375, allocations: 0 / 0.9524 GB, free: 6.812 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.0004099/0.338, allocations: 339.4 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.338, allocations: 12.03 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.338, allocations: 4.938 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.3382, allocations: 164.4 kB / 0.9528 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.3382, allocations: 12.36 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.3382, allocations: 8.297 kB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.3384, allocations: 30.27 kB / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3384, allocations: 192 / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3384, allocations: 3.938 kB / 0.9529 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.3384, allocations: 0 / 0.9529 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.635e-05/0.3384, allocations: 7.938 kB / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.3386, allocations: 161.6 kB / 0.9531 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.764e-05/0.3387, allocations: 26.59 kB / 0.9531 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.3387, allocations: 8.922 kB / 0.9531 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/0.3394, allocations: 0.5778 MB / 0.9537 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.3394, allocations: 38.56 kB / 0.9537 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3394, allocations: 0 / 0.9537 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000585/0.34, allocations: 246.3 kB / 0.9539 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.3401, allocations: 51.41 kB / 0.954 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.3402, allocations: 106 kB / 0.9541 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.3402, allocations: 25.7 kB / 0.9541 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.3402, allocations: 84.14 kB / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.3403, allocations: 15.8 kB / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.3403, allocations: 13.72 kB / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3404, allocations: 314.8 kB / 0.9545 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.3405, allocations: 4 kB / 0.9545 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.029e-05/0.3405, allocations: 17.7 kB / 0.9545 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.018e-05/0.3406, allocations: 29.72 kB / 0.9546 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3406, allocations: 0 / 0.9546 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001056/0.3407, allocations: 57.62 kB / 0.9546 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3407, allocations: 7.938 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3407, allocations: 0 / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3407, allocations: 4 kB / 0.9546 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.3408, allocations: 4 kB / 0.9546 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3408, allocations: 4.062 kB / 0.9546 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.889e-05/0.3408, allocations: 8 kB / 0.9546 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3408, allocations: 3.984 kB / 0.9546 GB, free: 4.047 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 8.552e-05/0.3409, allocations: 115.7 kB / 0.9548 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.341, allocations: 7.938 kB / 0.9548 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.3411, allocations: 53.19 kB / 0.9548 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3411, allocations: 0 / 0.9548 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3411, allocations: 0 / 0.9548 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3411, allocations: 8 kB / 0.9548 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.3413, allocations: 153.7 kB / 0.955 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3413, allocations: 0 / 0.955 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.3413, allocations: 4.375 kB / 0.955 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.3413, allocations: 7.922 kB / 0.955 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3413, allocations: 7.875 kB / 0.955 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3413, allocations: 0 / 0.955 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3414, allocations: 0 / 0.955 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.3415, allocations: 92.95 kB / 0.9551 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.3416, allocations: 77.11 kB / 0.9552 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.3416, allocations: 3.938 kB / 0.9552 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.3416, allocations: 4.031 kB / 0.9552 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.3416, allocations: 3.984 kB / 0.9552 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3417, allocations: 0 / 0.9552 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.097e-05/0.3417, allocations: 79.28 kB / 0.9552 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3417, allocations: 0 / 0.9552 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002578/0.342, allocations: 31.94 kB / 0.9553 GB, free: 3.305 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.0002232/0.3422, allocations: 133.5 kB / 0.9554 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.291e-05/0.3423, allocations: 23.92 kB / 0.9554 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3423, allocations: 0 / 0.9554 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.698e-05/0.3423, allocations: 8 kB / 0.9554 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.3425, allocations: 1.719 kB / 0.9554 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.3428, allocations: 105.6 kB / 0.9555 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.3431, allocations: 0.6805 MB / 0.9562 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.3431, allocations: 8.125 kB / 0.9562 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.3432, allocations: 11.44 kB / 0.9562 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.3432, allocations: 0 / 0.9562 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of Templates: time 0.00393/0.3471, allocations: 1.213 MB / 0.9574 GB, free: 1.074 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 -s cvode -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