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.001879/0.001879, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002432/0.002432, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.521/1.521, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.707/2.707, allocations: 437 MB / 0.7103 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 67.91 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7856/0.7874, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002145/0.7896, allocations: 0.5403 MB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006509/0.7903, allocations: 319 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.7903, allocations: 0 / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.7903, allocations: 3.938 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.508e-05/0.7904, allocations: 0 / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.7908, allocations: 115.6 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.336e-05/0.7909, allocations: 4 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.7909, allocations: 0 / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.406e-05/0.791, allocations: 11.98 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.791, allocations: 3.984 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.791, allocations: 4 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.7913, allocations: 183.7 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.7913, allocations: 0 / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.7914, allocations: 8 kB / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.7915, allocations: 87.77 kB / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7915, allocations: 0 / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7916, allocations: 4 kB / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.7916, allocations: 0 / 1.019 GB, free: 1.23 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.0003952/0.792, allocations: 341.5 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.792, allocations: 8.031 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.7921, allocations: 4.938 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.7922, allocations: 160.4 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.7922, allocations: 384 / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.7922, allocations: 4.375 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.889e-05/0.7923, allocations: 42.19 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.7924, allocations: 8.188 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.7924, allocations: 3.938 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.7924, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.208e-05/0.7924, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.7926, allocations: 153.7 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.614e-05/0.7927, allocations: 22.61 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.7927, allocations: 12.84 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006957/0.7934, allocations: 0.574 MB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.7935, allocations: 38.48 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.475e-06/0.7935, allocations: 3.938 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000498/0.794, allocations: 270.1 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.794, allocations: 51.41 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.979e-05/0.7941, allocations: 97.86 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.7941, allocations: 25.7 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.7941, allocations: 80.14 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.7942, allocations: 11.8 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.7942, allocations: 17.94 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.7943, allocations: 318.8 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.7943, allocations: 8 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.7944, allocations: 17.7 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.7944, allocations: 25.66 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.7944, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.882e-05/0.7945, allocations: 53.69 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.7945, allocations: 11.94 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7946, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.7946, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.734e-05/0.7946, allocations: 15.94 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.7946, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.7947, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.7947, allocations: 0 / 1.021 GB, free: 14.48 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 6.6e-05/0.7947, allocations: 109.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.7948, allocations: 8.328 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.7949, allocations: 65.14 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.7949, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7949, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.7949, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.795, allocations: 149.7 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.795, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/0.7951, allocations: 7.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.7951, allocations: 3.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.7951, allocations: 8 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.7951, allocations: 7.984 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7951, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.7953, allocations: 73.03 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.7953, allocations: 85.05 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.7953, allocations: 7.969 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.351e-05/0.7954, allocations: 4 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.7954, allocations: 3.984 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.7954, allocations: 4.062 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.322e-05/0.7954, allocations: 79.28 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7954, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002142/0.7957, allocations: 35.94 kB / 1.021 GB, free: 13.73 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.0002103/0.7959, allocations: 131.2 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.985e-05/0.796, allocations: 19.98 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.796, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.409e-05/0.796, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.7962, allocations: 8.125 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.7964, allocations: 109.5 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.7967, allocations: 0.6768 MB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.7967, allocations: 4 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.7967, allocations: 7.438 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7967, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of Templates: time 0.003461/0.8002, allocations: 1.212 MB / 1.024 GB, free: 11.51 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