Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.006092/0.006092, allocations: 101.8 kB / 15.88 MB, free: 5.867 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.001459/0.001459, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.944/2.944, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 60.94 kB / 0.899 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2992, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001884/0.3012, allocations: 0.6024 MB / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006965/0.3019, allocations: 351 kB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.43e-05/0.3019, allocations: 0 / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.3019, allocations: 4 kB / 1.054 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.65e-05/0.302, allocations: 0 / 1.054 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.3023, allocations: 63.84 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.938e-05/0.3024, allocations: 8 kB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.3024, allocations: 4 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.886e-05/0.3024, allocations: 7.984 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.3025, allocations: 11.92 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.3025, allocations: 0 / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002798/0.3028, allocations: 183.8 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.3028, allocations: 11.88 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.3029, allocations: 11.92 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.303, allocations: 47.91 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.303, allocations: 0 / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.72e-07/0.303, allocations: 0 / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.303, allocations: 0 / 1.054 GB, free: 6.992 MB / 0.8106 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.0003422/0.3033, allocations: 339.5 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3034, allocations: 15.97 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.3034, allocations: 0.9375 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.3035, allocations: 168.6 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.3036, allocations: 4.359 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.3036, allocations: 4.281 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.898e-05/0.3037, allocations: 34.27 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.3037, allocations: 192 / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3037, allocations: 7.938 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3037, allocations: 0 / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.157e-05/0.3038, allocations: 7.938 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.3039, allocations: 153.7 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.529e-05/0.304, allocations: 22.59 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.818e-05/0.304, allocations: 12.92 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006145/0.3046, allocations: 0.5778 MB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.3047, allocations: 30.56 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3047, allocations: 0 / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004899/0.3052, allocations: 254.3 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.3052, allocations: 55.62 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/0.3053, allocations: 101.8 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3053, allocations: 29.7 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.3054, allocations: 80.14 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.3054, allocations: 11.8 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.3054, allocations: 21.66 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3055, allocations: 314.8 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.3056, allocations: 4 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.043e-05/0.3056, allocations: 25.7 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.448e-05/0.3056, allocations: 21.72 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3056, allocations: 0 / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.44e-05/0.3057, allocations: 53.62 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3058, allocations: 11.94 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3058, allocations: 0 / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3058, allocations: 4 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.996e-05/0.3058, allocations: 8.062 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3059, allocations: 4 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.3059, allocations: 4 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3059, allocations: 3.938 kB / 1.056 GB, free: 4.23 MB / 0.8106 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.419e-05/0.306, allocations: 113.8 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.306, allocations: 3.938 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.3061, allocations: 57.12 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3061, allocations: 4 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3061, allocations: 4 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3061, allocations: 0 / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.3062, allocations: 153.7 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3062, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.3063, allocations: 4 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3063, allocations: 7.922 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.3063, allocations: 0 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3063, allocations: 4 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3063, allocations: 0 / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.3065, allocations: 84.97 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.3065, allocations: 77.11 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.3065, allocations: 11.97 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.3066, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.3066, allocations: 3.984 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-06/0.3066, allocations: 7.938 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.142e-05/0.3066, allocations: 75.7 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3066, allocations: 0 / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002251/0.3069, allocations: 28 kB / 1.057 GB, free: 3.5 MB / 0.8106 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.0002134/0.3071, allocations: 131.3 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.08e-05/0.3072, allocations: 15.92 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3072, allocations: 4 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-05/0.3072, allocations: 8 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.3074, allocations: 4 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.3076, allocations: 141.5 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.3079, allocations: 0.6809 MB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.3079, allocations: 11.44 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of SimCode: time 3.6e-07/0.3079, allocations: 0 / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of Templates: time 0.002344/0.3103, allocations: 0.8326 MB / 1.059 GB, free: 1.605 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches