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.001178/0.001178, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001229/0.001229, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.274/1.274, allocations: 222.9 MB / 239.8 MB, free: 4.508 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.338/2.338, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5325/0.5337, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001421/0.5352, allocations: 0.609 MB / 1.017 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005502/0.5358, allocations: 355 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.187e-05/0.5358, allocations: 0 / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.5358, allocations: 0 / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 1.957e-05/0.5358, allocations: 0 / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.5361, allocations: 63.78 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.489e-05/0.5361, allocations: 15.92 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.5362, allocations: 11.98 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.567e-05/0.5362, allocations: 3.984 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.354e-05/0.5362, allocations: 4 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.5362, allocations: 0 / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.5365, allocations: 195.7 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.5365, allocations: 0 / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.647e-05/0.5365, allocations: 3.984 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.5366, allocations: 83.8 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.5367, allocations: 4 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.01e-07/0.5367, allocations: 0 / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.735e-06/0.5367, allocations: 0 / 1.018 GB, free: 1.453 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.0002592/0.5369, allocations: 341.8 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.537, allocations: 12.03 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.782e-05/0.537, allocations: 34.73 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.784e-05/0.537, allocations: 0.9375 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.656e-05/0.5371, allocations: 160.4 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.5371, allocations: 4.375 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.5371, allocations: 4.281 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.827e-05/0.5372, allocations: 42.19 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.5372, allocations: 7.938 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.5372, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5373, allocations: 3.938 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.66e-05/0.5373, allocations: 4 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.5374, allocations: 153.7 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.664e-05/0.5374, allocations: 18.61 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.5375, allocations: 8.922 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00052/0.538, allocations: 0.5778 MB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.538, allocations: 34.56 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.538, allocations: 7.875 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003849/0.5384, allocations: 254.5 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.5385, allocations: 51.41 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.807e-05/0.5385, allocations: 97.84 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.5385, allocations: 25.7 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.741e-05/0.5386, allocations: 88.14 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.5386, allocations: 11.75 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.5386, allocations: 17.72 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.5387, allocations: 318.9 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.5387, allocations: 4 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.297e-05/0.5387, allocations: 21.72 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/0.5388, allocations: 37.64 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.5388, allocations: 0 / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.007e-05/0.5389, allocations: 45.77 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.5389, allocations: 11.94 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.5389, allocations: 0 / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.5389, allocations: 4 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.159e-05/0.539, allocations: 7.984 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.539, allocations: 3.938 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.539, allocations: 4 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.539, allocations: 0 / 1.02 GB, free: 14.65 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.642e-05/0.539, allocations: 113.8 kB / 1.02 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-06/0.5391, allocations: 3.938 kB / 1.02 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.872e-05/0.5392, allocations: 57.5 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.5392, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5392, allocations: 3.984 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5392, allocations: 8.031 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.262e-05/0.5393, allocations: 153.7 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5393, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.5393, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.5393, allocations: 7.875 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.5393, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5394, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5394, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.5395, allocations: 84.97 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.5395, allocations: 88.97 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.5395, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.41e-05/0.5396, allocations: 4.031 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.5396, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.5396, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.603e-05/0.5396, allocations: 83.34 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5396, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001972/0.5398, allocations: 31.98 kB / 1.021 GB, free: 13.91 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.0004756/0.5403, allocations: 0.6436 MB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.889e-05/0.5404, allocations: 24.11 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5404, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.571e-05/0.5404, allocations: 7.938 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.5406, allocations: 11.17 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009126/0.5415, allocations: 1.141 MB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.5417, allocations: 0.677 MB / 1.023 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.497e-05/0.5418, allocations: 7.938 kB / 1.023 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.5418, allocations: 11.44 kB / 1.023 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5418, allocations: 0 / 1.023 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9137/1.455, allocations: 1.96 MB / 1.025 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003364/1.456, allocations: 228.8 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/3.379, allocations: 0 / 1.026 GB, free: 9.184 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