Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009164/0.009164, allocations: 102 kB / 15.73 MB, free: 6.039 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.002188/0.002189, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.596/1.596, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.596/2.596, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001169, allocations: 59.44 kB / 0.9508 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3285, allocations: 140.4 MB / 1.088 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001579/0.3301, allocations: 0.5345 MB / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006246/0.3308, allocations: 315.3 kB / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.3308, allocations: 4 kB / 1.089 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.3308, allocations: 3.938 kB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.013e-05/0.3309, allocations: 0 / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.3313, allocations: 107.6 kB / 1.089 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.409e-05/0.3314, allocations: 4 kB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.3314, allocations: 0 / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.975e-05/0.3314, allocations: 15.98 kB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.3315, allocations: 7.922 kB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.3315, allocations: 4 kB / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/0.3318, allocations: 179.8 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.3318, allocations: 4 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.3318, allocations: 7.984 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.332, allocations: 79.8 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.332, allocations: 0 / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.453e-06/0.332, allocations: 0 / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.332, allocations: 0 / 1.089 GB, free: 396 kB / 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.0003534/0.3324, allocations: 343.5 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.3325, allocations: 8.078 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.3325, allocations: 0.9375 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.3326, allocations: 172.3 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.3326, allocations: 4.359 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.3327, allocations: 4.375 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.281e-05/0.3328, allocations: 42.08 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3328, allocations: 192 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3328, allocations: 7.938 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3328, allocations: 4 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.005e-05/0.3328, allocations: 0 / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.333, allocations: 153.7 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.653e-05/0.333, allocations: 18.67 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.3331, allocations: 20.78 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006024/0.3337, allocations: 0.5739 MB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.3337, allocations: 38.48 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3337, allocations: 0 / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000493/0.3342, allocations: 254.2 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.3343, allocations: 59.62 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.436e-05/0.3343, allocations: 97.86 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.3344, allocations: 25.7 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.3344, allocations: 80.14 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.3344, allocations: 7.891 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.3345, allocations: 17.72 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3346, allocations: 314.8 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/0.3346, allocations: 4 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.492e-05/0.3346, allocations: 25.7 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.552e-05/0.3347, allocations: 29.66 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3347, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.207e-05/0.3348, allocations: 53.69 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3348, allocations: 11.94 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3348, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3348, allocations: 4.062 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.3349, allocations: 11.94 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3349, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.3349, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.3349, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 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.529e-05/0.335, allocations: 113.8 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.335, allocations: 11.83 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.3351, allocations: 53.19 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3351, allocations: 8 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3352, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3352, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.3353, allocations: 158 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3353, allocations: 3.938 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.3353, allocations: 4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3353, allocations: 3.938 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.3353, allocations: 4 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.3354, allocations: 7.922 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3354, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.3355, allocations: 81.11 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.3356, allocations: 77.11 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.3356, allocations: 7.969 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.329e-05/0.3356, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.3356, allocations: 3.984 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3357, allocations: 4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.971e-05/0.3357, allocations: 75.28 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3357, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002279/0.3359, allocations: 36.06 kB / 1.092 GB, free: 12.88 MB / 0.8575 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.0002089/0.3362, allocations: 131.2 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.3363, allocations: 19.98 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3363, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.478e-05/0.3363, allocations: 4 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.3364, allocations: 5.688 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.3367, allocations: 117.5 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.337, allocations: 0.6847 MB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.456e-05/0.337, allocations: 3.984 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.337, allocations: 11.44 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.337, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.003846/0.3409, allocations: 1.219 MB / 1.094 GB, free: 10.63 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches