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.001798/0.001798, allocations: 113.9 kB / 16.42 MB, free: 6.523 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.001536/0.001536, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.15 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.612/2.612, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 67.89 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231/1.233, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002099/1.235, allocations: 0.5468 MB / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008355/1.236, allocations: 325.4 kB / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/1.236, allocations: 0 / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/1.236, allocations: 0 / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.825e-05/1.236, allocations: 3.938 kB / 1.168 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/1.237, allocations: 103.8 kB / 1.168 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.573e-05/1.237, allocations: 15.91 kB / 1.168 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/1.237, allocations: 0 / 1.168 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.412e-05/1.237, allocations: 7.938 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/1.237, allocations: 4 kB / 1.168 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/1.237, allocations: 4 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000378/1.237, allocations: 183.8 kB / 1.168 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/1.237, allocations: 7.984 kB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/1.237, allocations: 11.94 kB / 1.168 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/1.237, allocations: 76.36 kB / 1.169 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.237, allocations: 3.938 kB / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.954e-06/1.237, allocations: 0 / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.821e-06/1.237, allocations: 0 / 1.169 GB, free: 2.547 MB / 0.8887 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.0004799/1.238, allocations: 343.3 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.238, allocations: 8.031 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/1.238, allocations: 0.9375 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/1.238, allocations: 168.4 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/1.238, allocations: 4.375 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/1.238, allocations: 4.328 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/1.238, allocations: 34.27 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/1.238, allocations: 192 / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/1.238, allocations: 7.938 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.238, allocations: 0 / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.871e-05/1.239, allocations: 7.922 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/1.239, allocations: 149.7 kB / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.387e-05/1.239, allocations: 26.59 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/1.239, allocations: 8.922 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007417/1.24, allocations: 0.5778 MB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/1.24, allocations: 38.56 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 2.023e-06/1.24, allocations: 0 / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0006715/1.24, allocations: 258.3 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/1.24, allocations: 59.34 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/1.24, allocations: 97.84 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/1.24, allocations: 29.7 kB / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/1.241, allocations: 84.36 kB / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/1.241, allocations: 7.906 kB / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/1.241, allocations: 17.72 kB / 1.17 GB, free: 264 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001802/1.241, allocations: 314.8 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/1.241, allocations: 11.92 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/1.241, allocations: 17.72 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/1.241, allocations: 25.72 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/1.241, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.537e-05/1.241, allocations: 53.62 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/1.241, allocations: 8 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.241, allocations: 3.938 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/1.241, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.108e-05/1.241, allocations: 4 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/1.241, allocations: 7.984 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/1.241, allocations: 4 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/1.241, allocations: 4.062 kB / 1.171 GB, free: 15.79 MB / 0.9044 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.21e-05/1.241, allocations: 113.8 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/1.241, allocations: 3.953 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/1.242, allocations: 57.06 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/1.242, allocations: 4 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/1.242, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/1.242, allocations: 85.09 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/1.242, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.716e-05/1.242, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/1.242, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001646/1.242, allocations: 124.9 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002214/1.242, allocations: 226.8 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.245e-05/1.242, allocations: 8.5 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.991e-05/1.242, allocations: 87.25 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of Backend: time 8.11e-07/1.242, allocations: 64 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005417/1.243, allocations: 134.9 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005527/1.243, allocations: 0.5531 MB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.004632/1.248, allocations: 1.272 MB / 1.173 GB, free: 13.01 MB / 0.9044 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/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