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.00107/0.001071, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001032/0.001032, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.3 MB / 240 MB, free: 5.406 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.838/2.838, allocations: 437.7 MB / 0.7117 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003904, allocations: 19.94 kB / 0.8722 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7773/0.7778, allocations: 153.8 MB / 1.022 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.000799/0.7786, allocations: 272.7 kB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000626/0.7792, allocations: 299.2 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.883e-05/0.7793, allocations: 0 / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.268e-05/0.7793, allocations: 0 / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.761e-05/0.7793, allocations: 0 / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.7797, allocations: 59.84 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.738e-05/0.7797, allocations: 19.92 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.7798, allocations: 0 / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.933e-05/0.7798, allocations: 0 / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.512e-05/0.7799, allocations: 11.98 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.7799, allocations: 0 / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.7803, allocations: 191.7 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.298e-06/0.7803, allocations: 0 / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.7803, allocations: 29.7 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.7804, allocations: 47.91 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7805, allocations: 0 / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7805, allocations: 3.938 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.7805, allocations: 0 / 1.023 GB, free: 15.16 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.0003418/0.7808, allocations: 335.3 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.7809, allocations: 8.562 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.7809, allocations: 0 / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.781, allocations: 169 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.781, allocations: 3.938 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.7811, allocations: 4 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.7812, allocations: 37.66 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.7812, allocations: 3.938 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.7812, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.7812, allocations: 4 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.981e-05/0.7812, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.7814, allocations: 153.7 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.475e-05/0.7814, allocations: 26.59 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.7815, allocations: 8.922 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/0.7821, allocations: 0.5856 MB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.7821, allocations: 38.52 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.7821, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005568/0.7827, allocations: 254.2 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.7827, allocations: 55.41 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.75e-05/0.7828, allocations: 89.86 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.7828, allocations: 29.7 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.231e-05/0.7829, allocations: 88.36 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.7829, allocations: 11.83 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.7829, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.783, allocations: 318.8 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.7831, allocations: 0 / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.918e-05/0.7831, allocations: 25.64 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.83e-05/0.7831, allocations: 8 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.7832, allocations: 4 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.819e-05/0.7832, allocations: 53.55 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.7833, allocations: 11.94 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.7833, allocations: 0 / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.7833, allocations: 4 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.15e-05/0.7834, allocations: 4 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.7834, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/0.7834, allocations: 4 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.7834, allocations: 0 / 1.026 GB, free: 12.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.281e-05/0.7835, allocations: 113.9 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-06/0.7835, allocations: 4 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.7836, allocations: 65.05 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.7837, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.7837, allocations: 4 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.7837, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.7838, allocations: 157.7 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.7838, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.7839, allocations: 4 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.7839, allocations: 7.938 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.7839, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.7839, allocations: 3.953 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7839, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.7841, allocations: 85.05 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.7841, allocations: 81.02 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.7841, allocations: 0 / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.179e-05/0.7842, allocations: 0 / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.7842, allocations: 12.05 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.7842, allocations: 4.422 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.228e-05/0.7842, allocations: 87.25 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7843, allocations: 0 / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002411/0.7845, allocations: 24 kB / 1.026 GB, free: 11.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002117/0.7847, allocations: 131.2 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.562e-05/0.7848, allocations: 23.88 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.7848, allocations: 4.125 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-05/0.7848, allocations: 11.98 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.785, allocations: 4 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.7852, allocations: 112.7 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.7855, allocations: 0.6731 MB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.7855, allocations: 7.984 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.7856, allocations: 11.44 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.7856, allocations: 4 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of Templates: time 0.003551/0.7891, allocations: 1.173 MB / 1.028 GB, free: 9.508 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/jenkins/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