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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_latest_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.008094/0.008099, allocations: 104.3 kB / 15.74 MB, free: 6.492 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.001794/0.001794, allocations: 190 kB / 16.67 MB, free: 6.379 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.598/2.598, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 68.06 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.306, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001574/0.3076, allocations: 0.5408 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005657/0.3082, allocations: 319 kB / 1.208 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.3082, allocations: 0 / 1.208 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.3083, allocations: 0 / 1.208 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.361e-05/0.3083, allocations: 3.938 kB / 1.208 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.3087, allocations: 107.5 kB / 1.208 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.358e-05/0.3088, allocations: 7.984 kB / 1.208 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.3088, allocations: 4 kB / 1.208 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.1e-05/0.3088, allocations: 8 kB / 1.208 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.3089, allocations: 7.922 kB / 1.208 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3089, allocations: 4 kB / 1.208 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.3092, allocations: 183.8 kB / 1.208 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.3092, allocations: 8 kB / 1.208 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.3092, allocations: 4 kB / 1.208 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.3094, allocations: 79.8 kB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3094, allocations: 0 / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3094, allocations: 0 / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3094, allocations: 0 / 1.208 GB, free: 8.898 MB / 0.9669 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.0003645/0.3098, allocations: 347.6 kB / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3098, allocations: 8.625 kB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.3099, allocations: 34.73 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.3099, allocations: 8.938 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.3101, allocations: 172.3 kB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3101, allocations: 384 / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.3101, allocations: 4.375 kB / 1.209 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.943e-05/0.3102, allocations: 34.25 kB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3102, allocations: 3.938 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3102, allocations: 0 / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3102, allocations: 0 / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.064e-05/0.3103, allocations: 4 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.3104, allocations: 157.7 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.121e-05/0.3105, allocations: 26.52 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.3105, allocations: 4.859 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006105/0.3111, allocations: 0.5896 MB / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.3112, allocations: 30.56 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.3112, allocations: 0 / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005428/0.3117, allocations: 254.2 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.3118, allocations: 51.41 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.3119, allocations: 101.8 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3119, allocations: 29.92 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.3119, allocations: 80.14 kB / 1.21 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.312, allocations: 11.91 kB / 1.21 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.312, allocations: 13.72 kB / 1.21 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3121, allocations: 318.8 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.3121, allocations: 4 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.636e-05/0.3122, allocations: 17.66 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.631e-05/0.3122, allocations: 33.7 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3122, allocations: 0 / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.955e-05/0.3123, allocations: 57.55 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3123, allocations: 7.938 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3123, allocations: 0 / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3124, allocations: 4 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.3124, allocations: 11.98 kB / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3124, allocations: 0 / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.3124, allocations: 4.062 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.3125, allocations: 4 kB / 1.211 GB, free: 6.086 MB / 0.9669 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.075e-05/0.3125, allocations: 109.8 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.3126, allocations: 3.938 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.3127, allocations: 61.39 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3127, allocations: 48 / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.3127, allocations: 11.91 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3127, allocations: 0 / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.3128, allocations: 157.7 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3128, allocations: 0 / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.3129, allocations: 4 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3129, allocations: 7.938 kB / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3129, allocations: 0 / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3129, allocations: 3.938 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3129, allocations: 0 / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.3131, allocations: 77.06 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.3131, allocations: 92.97 kB / 1.211 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.3131, allocations: 4.062 kB / 1.211 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.134e-05/0.3132, allocations: 0 / 1.211 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.3132, allocations: 4 kB / 1.211 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.3132, allocations: 0 / 1.211 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.468e-05/0.3132, allocations: 79.28 kB / 1.211 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3132, allocations: 4 kB / 1.211 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002149/0.3135, allocations: 27.98 kB / 1.211 GB, free: 5.348 MB / 0.9669 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.0004862/0.3139, allocations: 0.6398 MB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.3141, allocations: 27.92 kB / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3141, allocations: 0 / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.676e-05/0.3141, allocations: 8 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.3142, allocations: 3.422 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000898/0.3151, allocations: 1.155 MB / 1.213 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.3154, allocations: 0.6729 MB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.802e-05/0.3154, allocations: 11.94 kB / 1.214 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.3154, allocations: 7.438 kB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of SimCode: time 1.383e-06/0.3154, allocations: 0 / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.334, allocations: 2.113 MB / 1.216 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.728, allocations: 8.484 kB / 1.216 GB, free: 0.707 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > 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