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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001359/0.001359, allocations: 105.5 kB / 16.27 MB, free: 5.984 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.001451/0.001451, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.322/1.322, allocations: 222.9 MB / 240.9 MB, free: 15.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.569/2.569, allocations: 469.4 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 68.92 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3519, allocations: 159.1 MB / 1.064 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002597/0.3546, allocations: 0.5462 MB / 1.065 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009293/0.3556, allocations: 318.9 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.3556, allocations: 4 kB / 1.065 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.3557, allocations: 3.938 kB / 1.065 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.944e-05/0.3557, allocations: 0 / 1.065 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005844/0.3563, allocations: 99.69 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.04e-05/0.3564, allocations: 12 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.493e-05/0.3565, allocations: 0 / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.76e-05/0.3565, allocations: 11.98 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.3566, allocations: 7.922 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.3566, allocations: 0 / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003565/0.357, allocations: 183.8 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.357, allocations: 4 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.357, allocations: 11.92 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.3572, allocations: 79.8 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3572, allocations: 0 / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3572, allocations: 0 / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.3573, allocations: 4 kB / 1.065 GB, free: 13.78 MB / 0.8419 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.000391/0.3577, allocations: 339.8 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3577, allocations: 8.625 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.3577, allocations: 0.9375 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.3579, allocations: 176.3 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.3579, allocations: 4.359 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.358, allocations: 4.375 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.3581, allocations: 30.27 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3581, allocations: 4.188 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.3581, allocations: 7.938 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3581, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.504e-05/0.3582, allocations: 3.938 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.3584, allocations: 153.7 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.029e-05/0.3584, allocations: 22.59 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.3585, allocations: 12.92 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00064/0.3591, allocations: 0.5817 MB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.3592, allocations: 30.56 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3592, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005479/0.3597, allocations: 258.4 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.3598, allocations: 55.41 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.078e-05/0.3598, allocations: 97.86 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3599, allocations: 25.7 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.3599, allocations: 80.14 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.3599, allocations: 7.891 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.36, allocations: 17.72 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3601, allocations: 322.8 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.3601, allocations: 7.984 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.131e-05/0.3601, allocations: 17.72 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.499e-05/0.3602, allocations: 25.66 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3602, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.213e-05/0.3603, allocations: 57.69 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3603, allocations: 15.94 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3603, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3604, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.292e-05/0.3604, allocations: 4 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3604, allocations: 4 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.3604, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3605, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8419 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.865e-05/0.3605, allocations: 113.8 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.3606, allocations: 7.844 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.3607, allocations: 61.12 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3607, allocations: 4 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3607, allocations: 4 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3607, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.3608, allocations: 154 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3608, allocations: 3.938 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/0.3609, allocations: 7.984 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3609, allocations: 3.938 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.3609, allocations: 4 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3609, allocations: 4 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3609, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.3611, allocations: 81.05 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.3611, allocations: 77.11 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.3611, allocations: 7.969 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.25e-05/0.3612, allocations: 0 / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.3612, allocations: 3.984 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.3612, allocations: 4 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.601e-05/0.3612, allocations: 79.34 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.3613, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002283/0.3615, allocations: 35.94 kB / 1.068 GB, free: 10.28 MB / 0.8419 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.0002075/0.3617, allocations: 127.8 kB / 1.068 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.479e-05/0.3618, allocations: 19.92 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3618, allocations: 4 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-05/0.3618, allocations: 4 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.362, allocations: 8.125 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.3623, allocations: 135.2 kB / 1.069 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.3625, allocations: 0.6807 MB / 1.069 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.3626, allocations: 7.438 kB / 1.069 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3626, allocations: 3.938 kB / 1.069 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of Templates: time 0.002499/0.3651, allocations: 0.8377 MB / 1.07 GB, free: 8.391 MB / 0.8419 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