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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009069/0.0009068, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005305/0.005305, allocations: 169 kB / 16.26 MB, free: 6.652 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.216/1.216, allocations: 223.3 MB / 240.3 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.252/2.252, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003196, allocations: 8 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5028/0.5031, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0005535/0.5037, allocations: 276.7 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005873/0.5043, allocations: 339.1 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.282e-05/0.5044, allocations: 7.938 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.5044, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.041e-05/0.5044, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.5047, allocations: 63.84 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.434e-05/0.5047, allocations: 11.94 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.5048, allocations: 4 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.365e-05/0.5048, allocations: 4 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.414e-05/0.5048, allocations: 11.98 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.5048, allocations: 0 / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.5051, allocations: 183.8 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.646e-06/0.5051, allocations: 7.938 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.5052, allocations: 25.7 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.5053, allocations: 87.78 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.5053, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.163e-06/0.5053, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.5053, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.7794 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.0002637/0.5056, allocations: 341.7 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.5056, allocations: 12.03 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.5057, allocations: 34.75 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.834e-05/0.5057, allocations: 0.9375 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.695e-05/0.5058, allocations: 160.4 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.361e-06/0.5058, allocations: 4.375 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.5058, allocations: 384 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.742e-05/0.5059, allocations: 38.23 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.5059, allocations: 3.938 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.5059, allocations: 8 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.5059, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.743e-05/0.5059, allocations: 4 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.5061, allocations: 161.6 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.795e-05/0.5061, allocations: 18.61 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.5062, allocations: 8.922 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005084/0.5067, allocations: 0.5817 MB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.5067, allocations: 34.56 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.344e-06/0.5067, allocations: 0 / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004338/0.5071, allocations: 262.4 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.5072, allocations: 55.39 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.756e-05/0.5072, allocations: 93.86 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.5073, allocations: 29.7 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.605e-05/0.5073, allocations: 80.14 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.5073, allocations: 15.75 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.5073, allocations: 13.7 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.5075, allocations: 322.9 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.5075, allocations: 11.88 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.376e-05/0.5075, allocations: 13.72 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.932e-05/0.5076, allocations: 25.7 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.5076, allocations: 0 / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.485e-05/0.5076, allocations: 53.64 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.5077, allocations: 16 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5077, allocations: 3.984 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.5077, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.586e-05/0.5077, allocations: 8 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.5077, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.256e-05/0.5078, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.5078, allocations: 0 / 1.026 GB, free: 12.07 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 5.513e-05/0.5078, allocations: 109.8 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.5078, allocations: 3.938 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.934e-05/0.5079, allocations: 69.11 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.508, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.508, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.508, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.5081, allocations: 157.7 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.5081, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.5082, allocations: 4 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5082, allocations: 3.938 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.5082, allocations: 4 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5082, allocations: 0 / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5082, allocations: 4.375 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.5083, allocations: 88.94 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.5083, allocations: 89.02 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.5084, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.063e-05/0.5084, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-06/0.5084, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.5084, allocations: 4 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.99e-05/0.5084, allocations: 83.33 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5085, allocations: 4 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002009/0.5087, allocations: 32 kB / 1.027 GB, free: 11.32 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.000392/0.5091, allocations: 0.6397 MB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.487e-05/0.5091, allocations: 19.98 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5091, allocations: 4.188 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.424e-05/0.5092, allocations: 8 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.5093, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007677/0.5101, allocations: 1.15 MB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.5103, allocations: 0.677 MB / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.434e-05/0.5103, allocations: 8.062 kB / 1.03 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.5103, allocations: 15.44 kB / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5103, allocations: 0 / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1789/0.6892, allocations: 1.897 MB / 1.031 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/0.6895, allocations: 246.1 kB / 1.032 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.614, allocations: 3.938 kB / 1.032 GB, free: 6.66 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > 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