Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001044/0.001044, allocations: 99.42 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.001297/0.001297, allocations: 185.8 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.398/1.398, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.72/2.72, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003739, allocations: 11.98 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6528/0.6532, allocations: 153.8 MB / 1.024 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.000662/0.6539, allocations: 276.8 kB / 1.024 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000687/0.6546, allocations: 339.1 kB / 1.024 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.6547, allocations: 4 kB / 1.024 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.6547, allocations: 3.938 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.684e-05/0.6547, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.655, allocations: 59.86 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.999e-05/0.6551, allocations: 19.91 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.6551, allocations: 4 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.556e-05/0.6552, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.064e-05/0.6552, allocations: 4 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.6552, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.6555, allocations: 191.8 kB / 1.025 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.6556, allocations: 7.922 kB / 1.025 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.6556, allocations: 25.7 kB / 1.025 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.6557, allocations: 51.91 kB / 1.025 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6557, allocations: 0 / 1.025 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6557, allocations: 4 kB / 1.025 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.6557, allocations: 0 / 1.025 GB, free: 15.05 MB / 0.7794 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.00032/0.6561, allocations: 335.5 kB / 1.025 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.6561, allocations: 11.97 kB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.6562, allocations: 4.938 kB / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.6563, allocations: 174.4 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.6563, allocations: 384 / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.6563, allocations: 4.312 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.679e-05/0.6564, allocations: 38.27 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.6564, allocations: 4.188 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.6564, allocations: 3.938 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.6565, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.997e-05/0.6565, allocations: 3.984 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.6567, allocations: 149.7 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.635e-05/0.6567, allocations: 30.53 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.6567, allocations: 4.859 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005942/0.6573, allocations: 0.5857 MB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.6574, allocations: 30.56 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.6574, allocations: 4 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004846/0.6579, allocations: 258.2 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.6579, allocations: 51.41 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.113e-05/0.658, allocations: 97.84 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.658, allocations: 29.7 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.6581, allocations: 80.14 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.6581, allocations: 11.75 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.6581, allocations: 21.94 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6583, allocations: 310.8 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.6583, allocations: 7.984 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-05/0.6583, allocations: 17.72 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.6584, allocations: 29.66 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.6584, allocations: 0 / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.861e-05/0.6585, allocations: 57.62 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6585, allocations: 7.938 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.6585, allocations: 0 / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.6585, allocations: 0 / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.906e-05/0.6586, allocations: 8 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.6586, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.6586, allocations: 3.938 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.6586, allocations: 7.984 kB / 1.027 GB, free: 12.29 MB / 0.7794 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.213e-05/0.6587, allocations: 113.9 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.6587, allocations: 7.938 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.6588, allocations: 53.12 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.6588, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6589, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6589, allocations: 384 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.659, allocations: 157.6 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.659, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.659, allocations: 15.98 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.659, allocations: 3.938 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.6591, allocations: 4 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6591, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6591, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.6592, allocations: 85.02 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.6593, allocations: 77.11 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.6593, allocations: 3.938 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.52e-05/0.6593, allocations: 7.922 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.6593, allocations: 4.031 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.6593, allocations: 4.062 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.6594, allocations: 87.28 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6594, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002251/0.6596, allocations: 27.98 kB / 1.028 GB, free: 11.54 MB / 0.7794 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.0001953/0.6598, allocations: 123.2 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.41e-05/0.6599, allocations: 19.98 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6599, allocations: 0 / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.887e-05/0.6599, allocations: 12.06 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.6601, allocations: 8 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.6603, allocations: 142.6 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.6606, allocations: 0.677 MB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.6606, allocations: 11.44 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6606, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.002198/0.6629, allocations: 0.824 MB / 1.029 GB, free: 9.664 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches