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.001261/0.001261, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001363/0.001363, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.61/2.61, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6898/0.6911, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001893/0.693, allocations: 0.6128 MB / 1.017 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007243/0.6937, allocations: 351 kB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.501e-05/0.6938, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.6938, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.774e-05/0.6938, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.6942, allocations: 63.84 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.082e-05/0.6942, allocations: 11.94 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.6943, allocations: 4 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.6943, allocations: 3.938 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.6944, allocations: 11.92 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.6944, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.6946, allocations: 191.8 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.6947, allocations: 0 / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.6947, allocations: 0 / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.6949, allocations: 87.78 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.6949, allocations: 4 kB / 1.018 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6949, allocations: 4 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.6949, allocations: 0 / 1.018 GB, free: 1.473 MB / 0.7637 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.0005037/0.6954, allocations: 335.5 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.6955, allocations: 12.03 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.6955, allocations: 0.9375 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.6957, allocations: 162.4 kB / 1.018 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.6957, allocations: 384 / 1.018 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.6957, allocations: 8.281 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.6959, allocations: 42.19 kB / 1.018 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.6959, allocations: 192 / 1.018 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.6959, allocations: 7.922 kB / 1.018 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.6959, allocations: 0 / 1.018 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.286e-05/0.696, allocations: 8 kB / 1.018 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.6962, allocations: 149.7 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.546e-05/0.6963, allocations: 22.61 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.6963, allocations: 8.922 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000717/0.697, allocations: 0.5817 MB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.6971, allocations: 38.48 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6971, allocations: 0 / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005994/0.6977, allocations: 254.3 kB / 1.019 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.6977, allocations: 51.41 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.587e-05/0.6978, allocations: 97.86 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.6978, allocations: 25.7 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.6979, allocations: 80.14 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.6979, allocations: 19.75 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.6979, allocations: 17.92 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.6981, allocations: 318.8 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.6981, allocations: 4 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.18e-05/0.6981, allocations: 25.7 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.33e-05/0.6982, allocations: 29.66 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6982, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.082e-05/0.6983, allocations: 53.69 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.6983, allocations: 9.344 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.6983, allocations: 4 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.6984, allocations: 3.938 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/0.6984, allocations: 11.94 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.6984, allocations: 0 / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.6985, allocations: 0 / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.6985, allocations: 4 kB / 1.02 GB, free: 14.71 MB / 0.7794 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 7.912e-05/0.6986, allocations: 110.4 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.6986, allocations: 12 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.6987, allocations: 53.17 kB / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.6987, allocations: 0 / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6987, allocations: 0 / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6987, allocations: 0 / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.6989, allocations: 157.7 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6989, allocations: 3.938 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.852e-05/0.6989, allocations: 11.94 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6989, allocations: 3.938 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.699, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.699, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.699, allocations: 3.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.6991, allocations: 81.41 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.6992, allocations: 81.14 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.6992, allocations: 3.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.391e-05/0.6992, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.6992, allocations: 4.031 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.6993, allocations: 3.984 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.6993, allocations: 87.34 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6993, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002215/0.6995, allocations: 24 kB / 1.021 GB, free: 13.98 MB / 0.7794 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.0002141/0.6998, allocations: 127.2 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.924e-05/0.6998, allocations: 19.98 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6999, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.59e-05/0.6999, allocations: 8 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.7, allocations: 7.984 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.7003, allocations: 123.4 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.7006, allocations: 0.6809 MB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.688e-05/0.7006, allocations: 3.984 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.7006, allocations: 11.44 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7006, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of Templates: time 0.003594/0.7042, allocations: 1.195 MB / 1.023 GB, free: 11.75 MB / 0.7794 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