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.001395/0.001395, allocations: 113.5 kB / 16.37 MB, free: 5.996 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.001455/0.001455, allocations: 192.6 kB / 17.31 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.562/2.562, allocations: 437.1 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 65.47 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3255, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001895/0.3274, allocations: 0.5423 MB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006425/0.3281, allocations: 315 kB / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.3281, allocations: 0 / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.3281, allocations: 7.938 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.435e-05/0.3282, allocations: 4 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.3286, allocations: 99.62 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.41e-05/0.3286, allocations: 11.98 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.3287, allocations: 3.984 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.881e-05/0.3287, allocations: 8 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.3288, allocations: 7.938 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.3288, allocations: 0 / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.3291, allocations: 187.8 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.3291, allocations: 7.969 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.3292, allocations: 11.94 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.3293, allocations: 75.86 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3293, allocations: 0 / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3293, allocations: 0 / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3294, allocations: 0 / 1.02 GB, free: 8.562 MB / 0.795 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.0003795/0.3297, allocations: 339.4 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3298, allocations: 12.03 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.3298, allocations: 0.9375 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.33, allocations: 168.4 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.33, allocations: 384 / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.33, allocations: 8.281 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.3301, allocations: 38.19 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.3301, allocations: 192 / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3301, allocations: 3.938 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3301, allocations: 3.938 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.3302, allocations: 8 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.3303, allocations: 157.6 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.709e-05/0.3304, allocations: 22.59 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.3304, allocations: 12.92 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005754/0.331, allocations: 0.5739 MB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.331, allocations: 38.5 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3311, allocations: 0 / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004704/0.3315, allocations: 250.3 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.3316, allocations: 51.62 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.264e-05/0.3316, allocations: 101.9 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.3317, allocations: 25.7 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.3317, allocations: 84.14 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.3317, allocations: 11.8 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.3318, allocations: 17.72 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.3319, allocations: 310.8 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.3319, allocations: 11.98 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.3319, allocations: 17.72 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.233e-05/0.332, allocations: 29.66 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.332, allocations: 0 / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.487e-05/0.3321, allocations: 49.69 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3321, allocations: 7.938 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3321, allocations: 4 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3321, allocations: 0 / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.443e-05/0.3322, allocations: 20 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3322, allocations: 0 / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.3322, allocations: 4 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.3322, allocations: 0 / 1.022 GB, free: 5.805 MB / 0.795 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.64e-05/0.3323, allocations: 113.8 kB / 1.022 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.3323, allocations: 3.938 kB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.3324, allocations: 57.12 kB / 1.022 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3324, allocations: 0 / 1.022 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3324, allocations: 4 kB / 1.022 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3324, allocations: 4 kB / 1.022 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.45e-05/0.3325, allocations: 149.7 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3325, allocations: 0 / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.566e-05/0.3326, allocations: 11.92 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3326, allocations: 3.938 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3326, allocations: 4 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3326, allocations: 0 / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3326, allocations: 4.375 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.3328, allocations: 81.02 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.3328, allocations: 81.11 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.3328, allocations: 3.938 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.533e-05/0.3329, allocations: 7.969 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.3329, allocations: 3.984 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.3329, allocations: 0 / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.655e-05/0.3329, allocations: 79.28 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3329, allocations: 0 / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002151/0.3332, allocations: 31.94 kB / 1.023 GB, free: 5.066 MB / 0.795 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.0002472/0.3334, allocations: 135.2 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.419e-05/0.3335, allocations: 15.98 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.3335, allocations: 4 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.619e-05/0.3335, allocations: 8 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.3337, allocations: 0 / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002402/0.3339, allocations: 113.5 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.3342, allocations: 0.6807 MB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.3342, allocations: 8 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.508e-05/0.3342, allocations: 11.44 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of SimCode: time 4.01e-07/0.3342, allocations: 0 / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of Templates: time 0.003445/0.3377, allocations: 1.209 MB / 1.025 GB, free: 2.836 MB / 0.795 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 -s cvode -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