Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006685/0.006685, allocations: 99.38 kB / 15.73 MB, free: 6.008 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.001453/0.001453, allocations: 200.3 kB / 16.68 MB, free: 5.934 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.849/2.849, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3827, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.00214/0.3848, allocations: 0.5251 MB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007338/0.3855, allocations: 320.9 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.929e-05/0.3856, allocations: 0 / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.3856, allocations: 7.938 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.83e-05/0.3856, allocations: 0 / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.3861, allocations: 99.62 kB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.946e-05/0.3862, allocations: 11.94 kB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.3862, allocations: 7.984 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.3863, allocations: 0 / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.3863, allocations: 15.98 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.3863, allocations: 0 / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.3867, allocations: 187.8 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.3867, allocations: 7.922 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.3867, allocations: 4 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3869, allocations: 83.67 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3869, allocations: 4 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3869, allocations: 0 / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.3869, allocations: 0 / 1.222 GB, free: 12.56 MB / 0.9825 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.0004163/0.3873, allocations: 339.3 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.3874, allocations: 16.03 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.3874, allocations: 0.9375 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3876, allocations: 168.3 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3876, allocations: 4.375 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.3876, allocations: 4.312 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.3877, allocations: 38.27 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3877, allocations: 192 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3877, allocations: 3.938 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3878, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.257e-05/0.3878, allocations: 8 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.388, allocations: 157.7 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.875e-05/0.388, allocations: 22.59 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.3881, allocations: 8.797 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000681/0.3887, allocations: 0.5818 MB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3888, allocations: 30.56 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.3888, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005572/0.3893, allocations: 262.2 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3894, allocations: 51.62 kB / 1.223 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.096e-05/0.3895, allocations: 97.86 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.3895, allocations: 25.7 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.3895, allocations: 84.14 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.3896, allocations: 15.88 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.3896, allocations: 17.72 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3897, allocations: 310.8 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.3897, allocations: 7.984 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.3898, allocations: 21.72 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.897e-05/0.3898, allocations: 29.66 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3898, allocations: 0 / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.449e-05/0.3899, allocations: 49.69 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3899, allocations: 7.938 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3899, allocations: 3.938 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3899, allocations: 0 / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-05/0.39, allocations: 12.06 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.39, allocations: 0 / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.39, allocations: 0 / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.39, allocations: 4 kB / 1.224 GB, free: 9.805 MB / 0.9825 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 9.564e-05/0.3901, allocations: 114.4 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.3901, allocations: 15.83 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.3903, allocations: 53.5 kB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3903, allocations: 3.938 kB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3903, allocations: 4 kB / 1.224 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3903, allocations: 0 / 1.224 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.3904, allocations: 153.7 kB / 1.224 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3904, allocations: 0 / 1.224 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.323e-05/0.3905, allocations: 11.98 kB / 1.224 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3905, allocations: 3.938 kB / 1.224 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.3905, allocations: 0 / 1.224 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3905, allocations: 0 / 1.224 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3905, allocations: 0 / 1.224 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.3906, allocations: 81.12 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.3907, allocations: 77.11 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.3907, allocations: 3.938 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.632e-05/0.3907, allocations: 7.938 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.3907, allocations: 12.02 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.3907, allocations: 0 / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.74e-05/0.3908, allocations: 83.22 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3908, allocations: 0 / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002522/0.391, allocations: 23.94 kB / 1.225 GB, free: 9.066 MB / 0.9825 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.0002367/0.3913, allocations: 135.2 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.963e-05/0.3914, allocations: 15.98 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3914, allocations: 0 / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.742e-05/0.3914, allocations: 7.938 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.3916, allocations: 9.125 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.3919, allocations: 129.3 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.3922, allocations: 0.6769 MB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.3922, allocations: 8 kB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.3923, allocations: 7.438 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3923, allocations: 0 / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of Templates: time 0.004002/0.3963, allocations: 1.221 MB / 1.227 GB, free: 6.809 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches