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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00163/0.00163, allocations: 102.4 kB / 16.27 MB, free: 6.414 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.001545/0.001545, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.469/1.469, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437.1 MB / 0.7111 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 68.33 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3216, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002052/0.3237, allocations: 0.5433 MB / 1.019 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007645/0.3245, allocations: 319 kB / 1.019 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.182e-05/0.3245, allocations: 7.875 kB / 1.019 GB, free: 9.781 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.172e-05/0.3245, allocations: 4 kB / 1.019 GB, free: 9.777 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.502e-05/0.3246, allocations: 0 / 1.019 GB, free: 9.777 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.325, allocations: 103.6 kB / 1.019 GB, free: 9.676 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.304e-05/0.3251, allocations: 7.984 kB / 1.019 GB, free: 9.668 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.72e-05/0.3251, allocations: 4 kB / 1.019 GB, free: 9.664 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.952e-05/0.3252, allocations: 4 kB / 1.019 GB, free: 9.66 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.046e-05/0.3252, allocations: 15.92 kB / 1.019 GB, free: 9.645 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.3253, allocations: 0 / 1.019 GB, free: 9.645 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.3256, allocations: 179.8 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.3256, allocations: 11.98 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.3256, allocations: 0 / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.3258, allocations: 83.78 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3259, allocations: 0 / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3259, allocations: 0 / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3259, allocations: 0 / 1.019 GB, free: 9.375 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.0004952/0.3264, allocations: 343.7 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3264, allocations: 12.03 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.3265, allocations: 4.938 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.3267, allocations: 164.3 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3267, allocations: 8.312 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.3267, allocations: 8.281 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.3269, allocations: 34.25 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3269, allocations: 192 / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3269, allocations: 3.938 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3269, allocations: 0 / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.604e-05/0.3269, allocations: 4 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.3272, allocations: 157.7 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.876e-05/0.3272, allocations: 30.5 kB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.3273, allocations: 4.859 kB / 1.02 GB, free: 8.461 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000776/0.328, allocations: 0.5817 MB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.3281, allocations: 34.56 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.3281, allocations: 0 / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005836/0.3287, allocations: 254.3 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.3287, allocations: 51.62 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.657e-05/0.3288, allocations: 101.9 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.3289, allocations: 25.7 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.3289, allocations: 80.14 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.3289, allocations: 15.81 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.329, allocations: 17.7 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3291, allocations: 314.8 kB / 1.021 GB, free: 6.766 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.3292, allocations: 4 kB / 1.021 GB, free: 6.762 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/0.3292, allocations: 21.7 kB / 1.021 GB, free: 6.734 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.046e-05/0.3293, allocations: 25.66 kB / 1.021 GB, free: 6.703 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3293, allocations: 0 / 1.021 GB, free: 6.703 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.348e-05/0.3294, allocations: 61.62 kB / 1.021 GB, free: 6.637 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3294, allocations: 7.938 kB / 1.021 GB, free: 6.629 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3294, allocations: 4 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3294, allocations: 0 / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/0.3295, allocations: 12.06 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3295, allocations: 0 / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.3295, allocations: 0 / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3295, allocations: 4 kB / 1.022 GB, free: 6.609 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 8.395e-05/0.3296, allocations: 105.8 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.3296, allocations: 3.938 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.3298, allocations: 65.11 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3298, allocations: 0 / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3298, allocations: 4 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3298, allocations: 0 / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.33, allocations: 157.7 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.33, allocations: 0 / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.33, allocations: 4 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.33, allocations: 11.88 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3301, allocations: 3.938 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3301, allocations: 0 / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3301, allocations: 0 / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.3302, allocations: 85.02 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.3303, allocations: 81.14 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3303, allocations: 4.359 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.3304, allocations: 0 / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.3304, allocations: 3.938 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.3304, allocations: 7.984 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.3305, allocations: 79.27 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3305, allocations: 4 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002382/0.3307, allocations: 31.94 kB / 1.022 GB, free: 5.863 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.0002162/0.3309, allocations: 127.3 kB / 1.022 GB, free: 5.73 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.353e-05/0.331, allocations: 19.98 kB / 1.022 GB, free: 5.711 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.331, allocations: 0 / 1.022 GB, free: 5.711 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.05e-05/0.3311, allocations: 11.94 kB / 1.022 GB, free: 5.699 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.3312, allocations: 1.688 kB / 1.022 GB, free: 5.699 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.3315, allocations: 131.3 kB / 1.022 GB, free: 5.539 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3318, allocations: 0.6846 MB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.3318, allocations: 15.44 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3318, allocations: 0 / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of Templates: time 0.002873/0.3347, allocations: 0.8334 MB / 1.024 GB, free: 3.98 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=400 -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