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.008145/0.008145, allocations: 96.34 kB / 15.73 MB, free: 6.055 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.001651/0.001651, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.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.692/2.692, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3791, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001577/0.3808, allocations: 0.5453 MB / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006195/0.3814, allocations: 327.3 kB / 1.167 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.3814, allocations: 0 / 1.167 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.3814, allocations: 0 / 1.167 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.498e-05/0.3815, allocations: 3.938 kB / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.3819, allocations: 99.75 kB / 1.168 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.935e-05/0.382, allocations: 15.92 kB / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.382, allocations: 4 kB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.063e-05/0.382, allocations: 3.938 kB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.3821, allocations: 7.984 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.3821, allocations: 0 / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.3825, allocations: 195.8 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.3825, allocations: 0 / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.3825, allocations: 3.938 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.3827, allocations: 79.8 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3827, allocations: 0 / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3827, allocations: 4 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.3827, allocations: 0 / 1.168 GB, free: 5.578 MB / 0.92 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.0003798/0.3831, allocations: 339.3 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3831, allocations: 12.03 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.3832, allocations: 4.875 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.3833, allocations: 168.4 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.3833, allocations: 384 / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.3834, allocations: 8.328 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.965e-05/0.3835, allocations: 34.27 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3835, allocations: 192 / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3835, allocations: 3.938 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3835, allocations: 0 / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.25e-05/0.3835, allocations: 11.92 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.3837, allocations: 153.7 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.86e-05/0.3838, allocations: 26.55 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.3838, allocations: 8.922 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006871/0.3845, allocations: 0.5817 MB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.3845, allocations: 30.56 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.502e-06/0.3845, allocations: 0 / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005345/0.3851, allocations: 258.3 kB / 1.169 GB, free: 3.613 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.3851, allocations: 55.34 kB / 1.169 GB, free: 3.547 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.52e-05/0.3852, allocations: 97.8 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3852, allocations: 33.91 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.3852, allocations: 84.14 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.3853, allocations: 11.91 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.3853, allocations: 17.72 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3854, allocations: 310.8 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.3854, allocations: 7.984 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.874e-05/0.3855, allocations: 17.72 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.732e-05/0.3855, allocations: 29.72 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3855, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.228e-05/0.3856, allocations: 53.62 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3857, allocations: 7.938 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3857, allocations: 0 / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3857, allocations: 3.938 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.3857, allocations: 8 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3858, allocations: 3.984 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.398e-05/0.3858, allocations: 4.062 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3858, allocations: 7.984 kB / 1.17 GB, free: 2.809 MB / 0.92 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.096e-05/0.3859, allocations: 113.8 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.3859, allocations: 11.89 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.386, allocations: 49.19 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.386, allocations: 0 / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.386, allocations: 0 / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.386, allocations: 0 / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.3862, allocations: 157.7 kB / 1.17 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3862, allocations: 0 / 1.17 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.3862, allocations: 11.98 kB / 1.17 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3862, allocations: 3.938 kB / 1.17 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3863, allocations: 0 / 1.17 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3863, allocations: 4 kB / 1.17 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3863, allocations: 3.938 kB / 1.17 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.3864, allocations: 77.12 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.3865, allocations: 77.59 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.3865, allocations: 7.938 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.723e-05/0.3865, allocations: 3.984 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.3865, allocations: 4.031 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.3866, allocations: 0 / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.3866, allocations: 87.27 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3866, allocations: 0 / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002318/0.3868, allocations: 27.92 kB / 1.171 GB, free: 2.074 MB / 0.92 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.0002374/0.3871, allocations: 127.2 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.137e-05/0.3872, allocations: 23.92 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3872, allocations: 3.938 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.706e-05/0.3872, allocations: 8 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.3874, allocations: 4 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.3876, allocations: 109.4 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.3879, allocations: 0.6807 MB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.557e-05/0.3879, allocations: 8.062 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.388, allocations: 11.44 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of SimCode: time 2.164e-06/0.388, allocations: 0 / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of Templates: time 0.003607/0.3916, allocations: 1.209 MB / 1.173 GB, free: 15.84 MB / 0.9356 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