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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> 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.007718/0.007718, allocations: 96.89 kB / 15.73 MB, free: 6 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.001686/0.001686, allocations: 189 kB / 16.67 MB, free: 5.93 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.74/2.74, allocations: 469.4 MB / 0.7421 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 64.05 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3209, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001805/0.3227, allocations: 0.5316 MB / 1.22 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006482/0.3234, allocations: 320.8 kB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.3234, allocations: 0 / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.3235, allocations: 3.938 kB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.107e-05/0.3235, allocations: 0 / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.324, allocations: 103.6 kB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.629e-05/0.3241, allocations: 11.97 kB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.3241, allocations: 4 kB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.173e-05/0.3241, allocations: 4 kB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.3242, allocations: 11.92 kB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.3242, allocations: 0 / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.3245, allocations: 187.8 kB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.3245, allocations: 7.984 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.3246, allocations: 7.938 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.3248, allocations: 79.73 kB / 1.221 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3248, allocations: 4 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3248, allocations: 0 / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.3248, allocations: 0 / 1.221 GB, free: 13.36 MB / 0.9825 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.0003806/0.3252, allocations: 343.3 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3252, allocations: 12.03 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.3253, allocations: 30.75 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.3253, allocations: 0.9375 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3254, allocations: 172.3 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.3254, allocations: 4.375 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.3255, allocations: 4.312 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.543e-05/0.3256, allocations: 34.25 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3256, allocations: 3.938 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.3256, allocations: 0 / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3256, allocations: 0 / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.517e-05/0.3256, allocations: 4 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.3258, allocations: 157.6 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.835e-05/0.3258, allocations: 26.61 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.3259, allocations: 12.86 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006116/0.3265, allocations: 0.57 MB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.3265, allocations: 46.56 kB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3265, allocations: 0 / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004963/0.327, allocations: 250.3 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.3271, allocations: 51.41 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.3272, allocations: 101.8 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3272, allocations: 25.92 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.3272, allocations: 88.14 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.3273, allocations: 11.89 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.3273, allocations: 17.7 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3274, allocations: 314.8 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.3275, allocations: 4 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.379e-05/0.3275, allocations: 13.72 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.247e-05/0.3275, allocations: 41.64 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.3275, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.025e-05/0.3276, allocations: 45.7 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3277, allocations: 7.938 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3277, allocations: 3.938 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.3277, allocations: 7.984 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.939e-05/0.3277, allocations: 4 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3278, allocations: 0 / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/0.3278, allocations: 8.062 kB / 1.223 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.3278, allocations: 0 / 1.223 GB, free: 10.56 MB / 0.9825 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.052e-05/0.3279, allocations: 113.8 kB / 1.223 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.3279, allocations: 11.89 kB / 1.223 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.328, allocations: 53.5 kB / 1.223 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.328, allocations: 7.969 kB / 1.223 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.328, allocations: 3.938 kB / 1.223 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.328, allocations: 4 kB / 1.223 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.3282, allocations: 157.7 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3282, allocations: 4 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.3282, allocations: 4 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3282, allocations: 3.938 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.3282, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3282, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3283, allocations: 4 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.3284, allocations: 77.11 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.3284, allocations: 81.05 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.3285, allocations: 4.062 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.541e-05/0.3285, allocations: 4.031 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.3285, allocations: 0 / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3285, allocations: 0 / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.741e-05/0.3286, allocations: 87.2 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3286, allocations: 0 / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002449/0.3288, allocations: 31.94 kB / 1.224 GB, free: 9.82 MB / 0.9825 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.0004838/0.3293, allocations: 0.6498 MB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.906e-05/0.3294, allocations: 23.92 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3294, allocations: 0 / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-05/0.3294, allocations: 4 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.3296, allocations: 7.938 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.3306, allocations: 1.158 MB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.3308, allocations: 0.6768 MB / 1.226 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.649e-05/0.3309, allocations: 4 kB / 1.226 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.3309, allocations: 7.438 kB / 1.226 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.3309, allocations: 0 / 1.226 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.3517, allocations: 2.108 MB / 1.228 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.239/7.591, allocations: 8.75 kB / 1.228 GB, free: 5.176 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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