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.01004/0.01004, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001899/0.001899, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.358/2.358, allocations: 390.2 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 63.91 kB / 0.9508 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9885/0.99, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001699/0.9917, allocations: 0.5399 MB / 1.088 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006395/0.9924, allocations: 327.3 kB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.9924, allocations: 4 kB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.9925, allocations: 3.938 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.812e-05/0.9925, allocations: 1.094 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.993, allocations: 94.08 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.327e-05/0.993, allocations: 10.89 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.9931, allocations: 2.469 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.055e-05/0.9931, allocations: 6.531 kB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.981e-05/0.9932, allocations: 7.25 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.9932, allocations: 0.875 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.9935, allocations: 196 kB / 1.089 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.9935, allocations: 1.969 kB / 1.089 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.9936, allocations: 5.031 kB / 1.089 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.9938, allocations: 81.02 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.9938, allocations: 0.7969 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9938, allocations: 1.281 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.9938, allocations: 0 / 1.089 GB, free: 4.875 MB / 0.8575 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.00029/0.9941, allocations: 342.2 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.9941, allocations: 9.141 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.9942, allocations: 6.938 kB / 1.089 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.999e-05/0.9943, allocations: 167 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.9943, allocations: 4.312 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.9943, allocations: 2.656 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.46e-05/0.9944, allocations: 32.64 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.9944, allocations: 192 / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.9944, allocations: 13.95 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.9944, allocations: 4 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.193e-05/0.9945, allocations: 2.672 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.9946, allocations: 152.1 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.807e-05/0.9947, allocations: 25.3 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.9947, allocations: 7.594 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005539/0.9953, allocations: 0.5802 MB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.9953, allocations: 32.03 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.9953, allocations: 0 / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004988/0.9958, allocations: 256.8 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.9958, allocations: 57 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.149e-05/0.9959, allocations: 94.73 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.9959, allocations: 26.7 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.227e-05/0.9959, allocations: 86.06 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.996, allocations: 5.828 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.996, allocations: 18.56 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.769e-05/0.996, allocations: 312.8 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.9961, allocations: 8.438 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.9961, allocations: 20.56 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.925e-05/0.9961, allocations: 29.23 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.9962, allocations: 0 / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.79e-05/0.9962, allocations: 52.14 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.9963, allocations: 9.688 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.9963, allocations: 4.906 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.9963, allocations: 5.109 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.409e-05/0.9964, allocations: 6.922 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.9964, allocations: 1.547 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.9964, allocations: 1.062 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.9964, allocations: 1.641 kB / 1.091 GB, free: 2.344 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 5.457e-05/0.9965, allocations: 113 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.9965, allocations: 13.03 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.9966, allocations: 61.42 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.9966, allocations: 0.7031 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.9966, allocations: 1.094 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.9966, allocations: 0 / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.879e-05/0.9967, allocations: 158.1 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.9967, allocations: 8.594 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.757e-05/0.9968, allocations: 6.125 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.9968, allocations: 5.031 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.9968, allocations: 0.5625 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.9968, allocations: 1.156 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.9968, allocations: 0 / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.9969, allocations: 80.28 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.997, allocations: 78.95 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.997, allocations: 5.141 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.509e-05/0.997, allocations: 1.891 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.997, allocations: 5.703 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.9971, allocations: 1.984 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.474e-05/0.9971, allocations: 82.97 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9971, allocations: 4.062 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002486/0.9973, allocations: 23.75 kB / 1.092 GB, free: 1.699 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.0001972/0.9975, allocations: 121.7 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.956e-05/0.9977, allocations: 17.42 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.9977, allocations: 0.7188 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.945e-05/0.9977, allocations: 11.28 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.9978, allocations: 5.562 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.9981, allocations: 121.2 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.9984, allocations: 0.6776 MB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.576e-05/0.9984, allocations: 3.844 kB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.508e-05/0.9984, allocations: 9.344 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of SimCode: time 3.2e-07/0.9984, allocations: 0 / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.004283/1.003, allocations: 1.212 MB / 1.094 GB, free: 16.68 MB / 0.8731 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