Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001128/0.001128, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 185.6 kB / 16.92 MB, free: 6.688 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.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.752/2.752, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003661, allocations: 8.156 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3391, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0008243/0.34, allocations: 281.1 kB / 1.06 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007959/0.3408, allocations: 343.1 kB / 1.06 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.3409, allocations: 0 / 1.06 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.3409, allocations: 0 / 1.06 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.33e-05/0.3409, allocations: 0 / 1.06 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.3414, allocations: 71.78 kB / 1.06 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.509e-05/0.3415, allocations: 11.98 kB / 1.06 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.3415, allocations: 0 / 1.06 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.38e-05/0.3416, allocations: 7.938 kB / 1.06 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.457e-05/0.3416, allocations: 3.984 kB / 1.06 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.3416, allocations: 7.938 kB / 1.06 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.342, allocations: 183.8 kB / 1.06 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.342, allocations: 7.984 kB / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.3421, allocations: 29.7 kB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.3422, allocations: 47.91 kB / 1.06 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3422, allocations: 3.984 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3423, allocations: 0 / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3423, allocations: 0 / 1.06 GB, free: 4.008 MB / 0.8106 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.0003971/0.3427, allocations: 335.5 kB / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.3427, allocations: 19.95 kB / 1.061 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.3428, allocations: 4.938 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.3429, allocations: 168.6 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.343, allocations: 8.375 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.343, allocations: 384 / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.3431, allocations: 38.25 kB / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3431, allocations: 192 / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3432, allocations: 3.938 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3432, allocations: 0 / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.713e-05/0.3432, allocations: 7.938 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.3434, allocations: 157.6 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.676e-05/0.3435, allocations: 26.55 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.3435, allocations: 12.92 kB / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007038/0.3442, allocations: 0.5778 MB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.3443, allocations: 34.56 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.3443, allocations: 0 / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006034/0.3449, allocations: 250.3 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.3449, allocations: 51.41 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.154e-05/0.345, allocations: 105.8 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.3451, allocations: 29.92 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.3451, allocations: 84.14 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.3452, allocations: 7.812 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.3452, allocations: 13.72 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3453, allocations: 318.8 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/0.3454, allocations: 0 / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.3454, allocations: 21.72 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.221e-05/0.3455, allocations: 25.72 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3455, allocations: 0 / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.401e-05/0.3456, allocations: 57.56 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3456, allocations: 11.94 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3456, allocations: 0 / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3456, allocations: 0 / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.3457, allocations: 7.984 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3457, allocations: 4 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.3457, allocations: 4.062 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.3457, allocations: 0 / 1.063 GB, free: 1.246 MB / 0.8106 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.041e-05/0.3458, allocations: 117.8 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.3458, allocations: 3.938 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.346, allocations: 49.19 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.346, allocations: 4 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.346, allocations: 0 / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.346, allocations: 384 / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.3461, allocations: 157.7 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3461, allocations: 4 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-05/0.3462, allocations: 4 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3462, allocations: 3.938 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.3462, allocations: 4 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3462, allocations: 0 / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3462, allocations: 3.984 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.3464, allocations: 80.97 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.3464, allocations: 81.09 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.3464, allocations: 12.03 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.386e-05/0.3465, allocations: 0 / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.3465, allocations: 7.938 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.3465, allocations: 8 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.497e-05/0.3466, allocations: 75.28 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3466, allocations: 0 / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002393/0.3468, allocations: 31.98 kB / 1.063 GB, free: 0.5078 MB / 0.8106 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.0002325/0.347, allocations: 123.2 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.165e-05/0.3471, allocations: 23.92 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.3472, allocations: 4 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/0.3472, allocations: 4 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.3474, allocations: 7.938 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.3476, allocations: 142.7 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.3479, allocations: 0.677 MB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.348, allocations: 11.44 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.348, allocations: 4.125 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of Templates: time 0.002624/0.3506, allocations: 0.8143 MB / 1.065 GB, free: 14.63 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches