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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.000726/0.0007261, allocations: 98.03 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.004551/0.004551, allocations: 170.1 kB / 16.27 MB, free: 6.648 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.213/1.213, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.37/2.37, allocations: 462.7 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002684/0.0002684, allocations: 13.53 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2177, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0005373/0.2183, allocations: 282.8 kB / 1.059 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000561/0.2189, allocations: 339.1 kB / 1.059 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.572e-05/0.2189, allocations: 4 kB / 1.059 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.025e-05/0.2189, allocations: 3.938 kB / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.342e-05/0.219, allocations: 3.938 kB / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.2192, allocations: 67.84 kB / 1.059 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.576e-05/0.2193, allocations: 7.938 kB / 1.059 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.298e-05/0.2193, allocations: 4 kB / 1.059 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.787e-05/0.2193, allocations: 7.984 kB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.482e-05/0.2194, allocations: 7.938 kB / 1.059 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.507e-06/0.2194, allocations: 0 / 1.059 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.2196, allocations: 187.8 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.2196, allocations: 0 / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.2197, allocations: 33.69 kB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.2198, allocations: 79.8 kB / 1.06 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2198, allocations: 4 kB / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2198, allocations: 4 kB / 1.06 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.866e-06/0.2198, allocations: 0 / 1.06 GB, free: 3.852 MB / 0.8106 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.000254/0.2201, allocations: 331.9 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2201, allocations: 8.031 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.921e-05/0.2202, allocations: 30.75 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.973e-05/0.2202, allocations: 0.9375 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.928e-05/0.2203, allocations: 168.3 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.2203, allocations: 4.359 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.2203, allocations: 8.281 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.513e-05/0.2204, allocations: 34.27 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.2204, allocations: 7.875 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.2204, allocations: 4 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.2204, allocations: 0 / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.609e-05/0.2205, allocations: 0 / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.2206, allocations: 153.7 kB / 1.06 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.902e-05/0.2206, allocations: 22.59 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.2207, allocations: 12.92 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005075/0.2212, allocations: 0.5895 MB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.2212, allocations: 34.56 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.2212, allocations: 0 / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004028/0.2216, allocations: 258.3 kB / 1.061 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.2217, allocations: 51.41 kB / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.76e-05/0.2217, allocations: 93.86 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.2217, allocations: 29.7 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.2218, allocations: 84.36 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.2218, allocations: 15.78 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.2218, allocations: 17.72 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.2219, allocations: 310.8 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.2219, allocations: 4 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.2219, allocations: 21.7 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.215e-05/0.222, allocations: 33.66 kB / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.222, allocations: 0 / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.24e-05/0.2221, allocations: 53.62 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2221, allocations: 7.938 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2221, allocations: 0 / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.667e-06/0.2221, allocations: 0 / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.326e-05/0.2222, allocations: 8 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2222, allocations: 4 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.2222, allocations: 3.938 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2222, allocations: 4 kB / 1.062 GB, free: 1.059 MB / 0.8106 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.485e-05/0.2223, allocations: 113.9 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.2223, allocations: 11.92 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.713e-05/0.2224, allocations: 53.17 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.2224, allocations: 0 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2224, allocations: 0 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.2224, allocations: 0 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.691e-05/0.2225, allocations: 153.7 kB / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2225, allocations: 0 / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.2225, allocations: 12 kB / 1.062 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2226, allocations: 3.938 kB / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.2226, allocations: 3.938 kB / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2226, allocations: 7.922 kB / 1.062 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2226, allocations: 0 / 1.062 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.2227, allocations: 81.06 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.2227, allocations: 81.05 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.2227, allocations: 0 / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.247e-05/0.2228, allocations: 4.062 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.2228, allocations: 8.406 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.2228, allocations: 0 / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.897e-05/0.2228, allocations: 87.27 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2228, allocations: 0 / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002035/0.223, allocations: 24 kB / 1.063 GB, free: 332 kB / 0.8106 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.0003856/0.2234, allocations: 0.6462 MB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.503e-05/0.2235, allocations: 19.98 kB / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2235, allocations: 0 / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.501e-05/0.2235, allocations: 11.94 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.2237, allocations: 4 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.2244, allocations: 1.15 MB / 1.064 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.2246, allocations: 0.6809 MB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.35e-05/0.2246, allocations: 4 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.2247, allocations: 15.36 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.2247, allocations: 0 / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.96/3.184, allocations: 1.893 MB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002695/3.185, allocations: 242.6 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/4.997, allocations: 4 kB / 1.067 GB, free: 11.67 MB / 0.8262 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