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.001204/0.001204, allocations: 103 kB / 16.35 MB, free: 5.875 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.001103/0.001103, allocations: 195.9 kB / 17.3 MB, free: 5.516 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.508/1.508, allocations: 222.9 MB / 241 MB, free: 14.98 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.275/2.275, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 65.25 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2851, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.00169/0.2869, allocations: 0.56 MB / 0.9517 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006237/0.2875, allocations: 321.1 kB / 0.952 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.517e-05/0.2876, allocations: 0 / 0.952 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.2876, allocations: 3.938 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.427e-05/0.2876, allocations: 0 / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.2881, allocations: 107.7 kB / 0.9521 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.259e-05/0.2881, allocations: 4 kB / 0.9521 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.2882, allocations: 0 / 0.9521 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.289e-05/0.2882, allocations: 11.94 kB / 0.9521 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.2883, allocations: 3.984 kB / 0.9521 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.2883, allocations: 4 kB / 0.9521 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002889/0.2886, allocations: 183.8 kB / 0.9523 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.2886, allocations: 4 kB / 0.9523 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.2886, allocations: 7.938 kB / 0.9523 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.2888, allocations: 79.84 kB / 0.9524 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2888, allocations: 3.938 kB / 0.9524 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2888, allocations: 4 kB / 0.9524 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2888, allocations: 0 / 0.9524 GB, free: 6.781 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.0003544/0.2892, allocations: 343.4 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2892, allocations: 8.031 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.2893, allocations: 4.938 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.2894, allocations: 160.4 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.2894, allocations: 384 / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.2894, allocations: 4.375 kB / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.2895, allocations: 46.19 kB / 0.9529 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2896, allocations: 192 / 0.9529 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.2896, allocations: 3.938 kB / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2896, allocations: 0 / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.2896, allocations: 0 / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.2898, allocations: 157.6 kB / 0.9531 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.798e-05/0.2898, allocations: 22.61 kB / 0.9531 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.887e-05/0.2898, allocations: 8.859 kB / 0.9531 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005959/0.2905, allocations: 0.5779 MB / 0.9537 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.2905, allocations: 34.5 kB / 0.9537 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.2905, allocations: 0 / 0.9537 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004879/0.291, allocations: 262.3 kB / 0.9539 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.291, allocations: 51.41 kB / 0.954 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.33e-05/0.2911, allocations: 101.8 kB / 0.9541 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.2911, allocations: 25.7 kB / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.2912, allocations: 84.12 kB / 0.9542 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.2912, allocations: 7.812 kB / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.2912, allocations: 21.92 kB / 0.9542 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2913, allocations: 318.8 kB / 0.9545 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.2913, allocations: 11.94 kB / 0.9545 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.2914, allocations: 17.7 kB / 0.9546 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.863e-05/0.2914, allocations: 25.66 kB / 0.9546 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.2914, allocations: 0 / 0.9546 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.721e-05/0.2915, allocations: 49.7 kB / 0.9546 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2915, allocations: 15.92 kB / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2916, allocations: 0 / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2916, allocations: 336 / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.556e-05/0.2916, allocations: 15.94 kB / 0.9547 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2916, allocations: 0 / 0.9547 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.2917, allocations: 0 / 0.9547 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.2917, allocations: 0 / 0.9547 GB, free: 4.027 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 6.088e-05/0.2917, allocations: 109.8 kB / 0.9548 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.2918, allocations: 11.98 kB / 0.9548 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.2919, allocations: 61.17 kB / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2919, allocations: 0 / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2919, allocations: 0 / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2919, allocations: 0 / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.292, allocations: 153.7 kB / 0.955 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.292, allocations: 0 / 0.955 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/0.2921, allocations: 7.938 kB / 0.955 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2921, allocations: 3.938 kB / 0.955 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.2921, allocations: 8 kB / 0.955 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2921, allocations: 4 kB / 0.955 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2921, allocations: 0 / 0.955 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.2922, allocations: 77.02 kB / 0.9551 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.2923, allocations: 85.14 kB / 0.9552 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.2923, allocations: 3.938 kB / 0.9552 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.342e-05/0.2923, allocations: 0 / 0.9552 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.2924, allocations: 0 / 0.9552 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.2924, allocations: 4 kB / 0.9552 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.513e-05/0.2924, allocations: 83.33 kB / 0.9552 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2924, allocations: 0 / 0.9552 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002162/0.2926, allocations: 35.94 kB / 0.9553 GB, free: 3.285 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.000194/0.2928, allocations: 135 kB / 0.9554 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.014e-05/0.2929, allocations: 12 kB / 0.9554 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.293, allocations: 4 kB / 0.9554 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.628e-05/0.293, allocations: 7.984 kB / 0.9554 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.2931, allocations: 4.125 kB / 0.9554 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.2934, allocations: 113.6 kB / 0.9555 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.2936, allocations: 0.6805 MB / 0.9562 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.456e-05/0.2936, allocations: 4 kB / 0.9562 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.2936, allocations: 7.438 kB / 0.9562 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2936, allocations: 0 / 0.9562 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of Templates: time 0.003361/0.297, allocations: 1.206 MB / 0.9574 GB, free: 1.059 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 gbode -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